X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=sidebyside;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 @@ -
<%= column.human_name %> | - <% end %> +Description | +Fee | +Period | ||
---|---|---|---|---|---|
<%=h video_policy.send(column.name) %> | - <% end %> -<%= 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 %> |