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=b65208fb2be20481539c77141234f0828a1136dd;hb=2818e8becfb6a257df623713d507f0994d5cc278;hp=b264601353e2a9cae83c9989dcfbcae29470075c;hpb=bf5c679032a167a9eeb4aa16284cd5dd2426a12a;p=cs356-p2-videostore.git diff --git a/app/views/game/_form.rhtml b/app/views/game/_form.rhtml index b264601..b65208f 100644 --- a/app/views/game/_form.rhtml +++ b/app/views/game/_form.rhtml @@ -11,6 +11,6 @@ <%= text_field 'game', 'platform' %>


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

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