1 <h1>Listing video_policies</h1>
5 <% for column in VideoPolicy.content_columns %>
6 <th><%= column.human_name %></th>
10 <% for video_policy in @video_policies %>
12 <% for column in VideoPolicy.content_columns %>
13 <td><%=h video_policy.send(column.name) %></td>
15 <td><%= link_to 'Show', :action => 'show', :id => video_policy %></td>
16 <td><%= link_to 'Edit', :action => 'edit', :id => video_policy %></td>
17 <td><%= link_to 'Destroy', { :action => 'destroy', :id => video_policy }, :confirm => 'Are you sure?', :method => :post %></td>
22 <%= link_to 'Previous page', { :page => @video_policy_pages.current.previous } if @video_policy_pages.current.previous %>
23 <%= link_to 'Next page', { :page => @video_policy_pages.current.next } if @video_policy_pages.current.next %>
27 <%= link_to 'New video_policy', :action => 'new' %>