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


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

-


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

+


+<%= select 'game', 'game_platform_id', 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] } %>

+


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