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=83c005ccf21295bfb66f34fdf7160ae95c4ba568;hb=064ef703594868b7ace2ebe131ba145e27aef6d2;hp=0000000000000000000000000000000000000000;hpb=f102e2d11bd1633579c7cfc244a38a9d8929bd06;p=cs356-p2-videostore.git diff --git a/app/views/game_genre/list.rhtml b/app/views/game_genre/list.rhtml new file mode 100644 index 0000000..83c005c --- /dev/null +++ b/app/views/game_genre/list.rhtml @@ -0,0 +1,27 @@ +

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 %>
<%=h game_genre.send(column.name) %><%= link_to 'Show', :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 %>
+ +<%= link_to 'Previous page', { :page => @game_genre_pages.current.previous } if @game_genre_pages.current.previous %> +<%= link_to 'Next page', { :page => @game_genre_pages.current.next } if @game_genre_pages.current.next %> + +
+ +<%= link_to 'New game_genre', :action => 'new' %>