X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fvideo_policy%2Flist.rhtml;h=54acd883b70c789a04f0e08324a4b554b93d1ab6;hb=HEAD;hp=0573275d0a61672a917f4ecebba14efb33e9fa0f;hpb=53634274872ef0ba36cbf94e23df4443ea5613d5;p=cs356-p2-videostore.git diff --git a/app/views/video_policy/list.rhtml b/app/views/video_policy/list.rhtml index 0573275..54acd88 100644 --- a/app/views/video_policy/list.rhtml +++ b/app/views/video_policy/list.rhtml @@ -1,18 +1,17 @@ -

Video Rental Policies

+

Video Rental Pricing and Policies

- <% for column in VideoPolicy.content_columns %> - - <% end %> + + + <% for video_policy in @video_policies %> - <% for column in VideoPolicy.content_columns %> - - <% end %> - + + + <% end %> @@ -21,6 +20,3 @@ <%= 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' %>
<%= column.human_name %>DescriptionFeePeriod
<%=h video_policy.send(column.name) %><%= link_to 'View', :action => 'show', :id => video_policy %><%=h video_policy.description %><%=h number_to_currency(video_policy.fee) %><%=h video_policy.period %> Days <%= link_to 'Edit', :action => 'edit', :id => video_policy %>