Many visual tweaks, suggested by Lan
[cs356-p2-videostore.git] / app / views / game / show.rhtml
index b3c282f..e31791b 100644 (file)
@@ -1,8 +1,9 @@
-<% for column in Game.content_columns %>
-<p>
-  <b><%= column.human_name %>:</b> <%=h @game.send(column.name) %>
-</p>
-<% end %>
+<p><b>Game ID:</b> <%=h @game.id.to_s %></p>
+<p><b>Title:</b> <%=h @game.title %></p>
+<p><b>New Release:</b> <%=h tf_to_yesno(@game.newrelease) %></p>
+<p><b>Genre:</b> <%=h @game.genre_name %></p>
+<p><b>Platform:</b> <%=h @game.platform_name %></p>
+
 
 <%= link_to 'Edit', :action => 'edit', :id => @game %> |
 <%= link_to 'Back', :action => 'list' %>