X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame_genre%2Flist.rhtml;fp=app%2Fviews%2Fgame_genre%2Flist.rhtml;h=63f595e289530cd18cb2caa6b1315337a3f3a10f;hb=49780de1e4382884d99126b3d48f5ad232deb91e;hp=83c005ccf21295bfb66f34fdf7160ae95c4ba568;hpb=e96b9243bd4cf589d665b3a4274ac07819e211c1;p=cs356-p2-videostore.git diff --git a/app/views/game_genre/list.rhtml b/app/views/game_genre/list.rhtml index 83c005c..63f595e 100644 --- a/app/views/game_genre/list.rhtml +++ b/app/views/game_genre/list.rhtml @@ -1,20 +1,14 @@ -

Listing game_genres

+

Listing Game Genres

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