X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame%2Flist.rhtml;h=4528322ee7aac882444c18e6bda79875e43267f4;hb=c6189824da1944b9b80b81c42a37c178029cab3b;hp=123e7672ccf75b15ca0a5bfb28a295ae14c809c1;hpb=26ea4349c0583820be12b9f980ec4884f7db5690;p=cs356-p2-videostore.git diff --git a/app/views/game/list.rhtml b/app/views/game/list.rhtml index 123e767..4528322 100644 --- a/app/views/game/list.rhtml +++ b/app/views/game/list.rhtml @@ -3,8 +3,8 @@
Game ID | -Checked Out | Title | +Checked Out | New Release | Genre | Platform | @@ -16,8 +16,8 @@<%=h game.title %> | <%=h tf_to_yesno(game.checkedout?) %> | <%=h tf_to_yesno(game.newrelease) %> | -<%=h game.genre %> | -<%=h game.game_platform %> | +<%=h game.genre.name %> | +<%=h game.platform.name %> | <%= link_to 'View', :action => 'show', :id => game %> | <%= link_to 'Edit', :action => 'edit', :id => game %> | <%= link_to 'Remove', { :action => 'destroy', :id => game }, :confirm => 'Are you sure?', :method => :post %> |
---|