X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame%2F_form.rhtml;h=69c3904becbb822b4d82e49356c8c169bfba21c4;hb=bbf13350a73e14c5448f6fb0077126b7d92cdb48;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..69c3904 100644 --- a/app/views/game/_form.rhtml +++ b/app/views/game/_form.rhtml @@ -8,9 +8,9 @@ <%= check_box 'game', 'newrelease' %>


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

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


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

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