X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame%2F_form.rhtml;h=69c3904becbb822b4d82e49356c8c169bfba21c4;hb=e4597521e3a7365f86731f7d69643cb1067acb5e;hp=a0ab9906a3439fba9aec551c98bd30edd4bef15d;hpb=7f26973835fc8deef03d25d751e92e4c633ae464;p=cs356-p2-videostore.git diff --git a/app/views/game/_form.rhtml b/app/views/game/_form.rhtml index a0ab990..69c3904 100644 --- a/app/views/game/_form.rhtml +++ b/app/views/game/_form.rhtml @@ -4,10 +4,13 @@


<%= text_field 'game', 'title' %>

+


+<%= 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', 'genre' %>

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