X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame_platform%2Flist.rhtml;h=9323f6f0f94b0317a29205b69767503b5e09d447;hb=1400058ff6cb035111e5c2dfab0fd4ad7e44710d;hp=3206a36d09c1e142df85504dcdd4769449d2e681;hpb=49780de1e4382884d99126b3d48f5ad232deb91e;p=cs356-p2-videostore.git diff --git a/app/views/game_platform/list.rhtml b/app/views/game_platform/list.rhtml index 3206a36..9323f6f 100644 --- a/app/views/game_platform/list.rhtml +++ b/app/views/game_platform/list.rhtml @@ -1,20 +1,14 @@ -

Listing game_platforms

+

Listing Game Platforms

- +
- <% for column in GamePlatform.content_columns %> - - <% end %> + <% for game_platform in @game_platforms %> - <% for column in GamePlatform.content_columns %> - - <% end %> - + - <% end %>
<%= column.human_name %>Name
<%=h game_platform.send(column.name) %><%= link_to 'Show', :action => 'show', :id => game_platform %><%= link_to game_platform.name.to_s, :action => 'show', :id => game_platform %> <%= link_to 'Edit', :action => 'edit', :id => game_platform %><%= link_to 'Destroy', { :action => 'destroy', :id => game_platform }, :confirm => 'Are you sure?', :method => :post %>
@@ -24,4 +18,4 @@
-<%= link_to 'New game_platform', :action => 'new' %> +<%= link_to 'New Game Platform', :action => 'new' %>