X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo_policy%2Flist.rhtml;fp=app%2Fviews%2Fvideo_policy%2Flist.rhtml;h=2b916c608957dd7be6dd6865f7ff0bcd1181bb7a;hb=01114330b962728805d3c43f2f1a1423f2bd66b3;hp=0000000000000000000000000000000000000000;hpb=09ddd1ef5546ec679c832c7cefb93f00125c96c6;p=cs356-p2-videostore.git diff --git a/app/views/video_policy/list.rhtml b/app/views/video_policy/list.rhtml new file mode 100644 index 0000000..2b916c6 --- /dev/null +++ b/app/views/video_policy/list.rhtml @@ -0,0 +1,27 @@ +

Listing video_policies

+ + + + <% for column in VideoPolicy.content_columns %> + + <% end %> + + +<% for video_policy in @video_policies %> + + <% for column in VideoPolicy.content_columns %> + + <% end %> + + + + +<% end %> +
<%= column.human_name %>
<%=h video_policy.send(column.name) %><%= link_to 'Show', :action => 'show', :id => video_policy %><%= link_to 'Edit', :action => 'edit', :id => video_policy %><%= link_to 'Destroy', { :action => 'destroy', :id => video_policy }, :confirm => 'Are you sure?', :method => :post %>
+ +<%= link_to 'Previous page', { :page => @video_policy_pages.current.previous } if @video_policy_pages.current.previous %> +<%= link_to 'Next page', { :page => @video_policy_pages.current.next } if @video_policy_pages.current.next %> + +
+ +<%= link_to 'New video_policy', :action => 'new' %>