X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame%2F_form.rhtml;fp=app%2Fviews%2Fgame%2F_form.rhtml;h=69c3904becbb822b4d82e49356c8c169bfba21c4;hb=f96a0f6949f29078cd2c5e3c81d3ac48ac710fbe;hp=b65208fb2be20481539c77141234f0828a1136dd;hpb=2818e8becfb6a257df623713d507f0994d5cc278;p=cs356-p2-videostore.git diff --git a/app/views/game/_form.rhtml b/app/views/game/_form.rhtml index b65208f..69c3904 100644 --- a/app/views/game/_form.rhtml +++ b/app/views/game/_form.rhtml @@ -8,7 +8,7 @@ <%= check_box 'game', 'newrelease' %>


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

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


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