X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame_policy%2Flist.rhtml;h=327c35df9144e7bae32e88e8b538ae03ecc9799b;hb=028a58007b550b50ef4db7db1eae9919aa90e1fd;hp=761de3055654a4036dd7bb4be5541cbdaca19be3;hpb=bf5c679032a167a9eeb4aa16284cd5dd2426a12a;p=cs356-p2-videostore.git diff --git a/app/views/game_policy/list.rhtml b/app/views/game_policy/list.rhtml index 761de30..327c35d 100644 --- a/app/views/game_policy/list.rhtml +++ b/app/views/game_policy/list.rhtml @@ -1,20 +1,19 @@ -

Listing game_policies

+

Game Rental Pricing and Policies

- +
- <% for column in GamePolicy.content_columns %> - - <% end %> + + + <% for game_policy in @game_policies %> - <% for column in GamePolicy.content_columns %> - - <% end %> - + + + + - <% end %>
<%= column.human_name %>DescriptionFeePeriod
<%=h game_policy.send(column.name) %><%= link_to 'Show', :action => 'show', :id => game_policy %><%=h game_policy.description %><%=h number_to_currency(game_policy.fee) %><%=h game_policy.period %> Days<%= link_to 'View', :action => 'show', :id => game_policy %> <%= link_to 'Edit', :action => 'edit', :id => game_policy %><%= link_to 'Destroy', { :action => 'destroy', :id => game_policy }, :confirm => 'Are you sure?', :method => :post %>
@@ -22,6 +21,3 @@ <%= link_to 'Previous page', { :page => @game_policy_pages.current.previous } if @game_policy_pages.current.previous %> <%= link_to 'Next page', { :page => @game_policy_pages.current.next } if @game_policy_pages.current.next %> -
- -<%= link_to 'New game_policy', :action => 'new' %>