X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=inline;f=app%2Fviews%2Fgame%2Flist.rhtml;h=123e7672ccf75b15ca0a5bfb28a295ae14c809c1;hb=26ea4349c0583820be12b9f980ec4884f7db5690;hp=f1317de52a3d01c7d068e42bc75621792cdb45ab;hpb=7f26973835fc8deef03d25d751e92e4c633ae464;p=cs356-p2-videostore.git diff --git a/app/views/game/list.rhtml b/app/views/game/list.rhtml index f1317de..123e767 100644 --- a/app/views/game/list.rhtml +++ b/app/views/game/list.rhtml @@ -1,20 +1,26 @@ -
<%= column.human_name %> | - <% end %> +Game ID | +Checked Out | +Title | +New Release | +Genre | +Platform | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
<%=h game.send(column.name) %> | - <% end %> -<%= link_to 'Show', :action => 'show', :id => game %> | +<%=h game.id %> | +<%=h game.title %> | +<%=h tf_to_yesno(game.checkedout?) %> | +<%=h tf_to_yesno(game.newrelease) %> | +<%=h game.genre %> | +<%=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 %> |