Switch to a single joined table for Videos and Games
[cs356-p2-videostore.git] / app / views / game / _form.rhtml
index a0ab990..b264601 100644 (file)
@@ -4,10 +4,13 @@
 <p><label for="game_title">Title</label><br/>
 <%= text_field 'game', 'title'  %></p>
 
+<p><label for="game_newrelease">New Release</label><br/>
+<%= check_box 'game', 'newrelease' %></p>
+
 <p><label for="game_platform">Platform</label><br/>
 <%= text_field 'game', 'platform'  %></p>
 
 <p><label for="game_genre">Genre</label><br/>
-<%= text_field 'game', 'genre'  %></p>
+<%= text_field 'game', 'game_genre'  %></p>
 <!--[eoform:game]-->