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=e74b713918e406cade8a5d1bdffc120afe5fbd7b;hb=064ef703594868b7ace2ebe131ba145e27aef6d2;hp=69c3904becbb822b4d82e49356c8c169bfba21c4;hpb=f102e2d11bd1633579c7cfc244a38a9d8929bd06;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] } %>