X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=app%2Fviews%2Fvideo_policy%2Flist.rhtml;h=539ca06294b71c5977a075aab1a7fb5ccbc2970a;hb=506205df80b0318a1d58f59cbf68d5be4329489a;hp=2b916c608957dd7be6dd6865f7ff0bcd1181bb7a;hpb=01114330b962728805d3c43f2f1a1423f2bd66b3;p=cs356-p2-videostore.git diff --git a/app/views/video_policy/list.rhtml b/app/views/video_policy/list.rhtml index 2b916c6..539ca06 100644 --- a/app/views/video_policy/list.rhtml +++ b/app/views/video_policy/list.rhtml @@ -1,20 +1,19 @@ -
<%= column.human_name %> | - <% end %> +Description | +Fee | +Period | ||||
---|---|---|---|---|---|---|---|
<%=h video_policy.send(column.name) %> | - <% end %> -<%= link_to 'Show', :action => 'show', :id => video_policy %> | +<%=h video_policy.description %> | +<%=h number_to_currency(video_policy.fee) %> | +<%=h video_policy.period %> Days | +<%= link_to 'View', :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 %> |