X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame%2F_form.rhtml;h=e74b713918e406cade8a5d1bdffc120afe5fbd7b;hb=31c3621ad8a43715ecc02655d58b20099308fe50;hp=b264601353e2a9cae83c9989dcfbcae29470075c;hpb=3650c5f411112965a12718b75ccbedde3186fa15;p=cs356-p2-videostore.git diff --git a/app/views/game/_form.rhtml b/app/views/game/_form.rhtml index b264601..e74b713 100644 --- a/app/views/game/_form.rhtml +++ b/app/views/game/_form.rhtml @@ -7,10 +7,10 @@


<%= check_box 'game', 'newrelease' %>

-


-<%= text_field 'game', 'platform' %>

+


+<%= select 'game', 'game_platform_id', GamePlatform.find(:all).collect {|c| [c.name.to_s, c.id] } %>

-


-<%= text_field 'game', 'game_genre' %>

+


+<%= select 'game', 'game_genre_id', GameGenre.find(:all).collect {|c| [c.name.to_s, c.id] } %>