X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame%2Flist.rhtml;h=a32c14d0e4a1f2f7ddd3276e7340fed4899305c5;hb=32e35e775c982b99b462c43430fa6701654792a8;hp=fce55daa39eca2c1a2f56b2d831f05540e533be5;hpb=2818e8becfb6a257df623713d507f0994d5cc278;p=cs356-p2-videostore.git diff --git a/app/views/game/list.rhtml b/app/views/game/list.rhtml index fce55da..a32c14d 100644 --- a/app/views/game/list.rhtml +++ b/app/views/game/list.rhtml @@ -1,26 +1,26 @@ -

Listing games

+

Listing Games

- +
- + - <% for game in @games %> - - + + - - + + - + <% end %>
Game IDChecked Out TitleChecked Out New Release GenrePlatform + Platform
<%=h game.id %><%=h game.checkedout? %> <%=h game.title %><%=h game.newrelease %><%=h tf_to_yesno(game.checkedout?) %><%=h tf_to_yesno(game.newrelease) %> <%=h game.genre %>FIXME<%= link_to 'Show', :action => 'show', :id => game %><%=h game.game_platform %><%= link_to 'View', :action => 'show', :id => game %> <%= link_to 'Edit', :action => 'edit', :id => game %><%= link_to 'Destroy', { :action => 'destroy', :id => game }, :confirm => 'Are you sure?', :method => :post %><%= link_to 'Remove', { :action => 'destroy', :id => game }, :confirm => 'Are you sure?', :method => :post %>