1 <h1>Game Rental Policies</h1>
5 <% for column in GamePolicy.content_columns %>
6 <th><%= column.human_name %></th>
10 <% for game_policy in @game_policies %>
12 <% for column in GamePolicy.content_columns %>
13 <td><%=h game_policy.send(column.name) %></td>
15 <td><%= link_to 'View', :action => 'show', :id => game_policy %></td>
16 <td><%= link_to 'Edit', :action => 'edit', :id => game_policy %></td>
21 <%= link_to 'Previous page', { :page => @game_policy_pages.current.previous } if @game_policy_pages.current.previous %>
22 <%= link_to 'Next page', { :page => @game_policy_pages.current.next } if @game_policy_pages.current.next %>
26 <%= link_to 'New game_policy', :action => 'new' %>