X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fviews%2Fgame_policy%2Flist.rhtml;h=327c35df9144e7bae32e88e8b538ae03ecc9799b;hb=028a58007b550b50ef4db7db1eae9919aa90e1fd;hp=761de3055654a4036dd7bb4be5541cbdaca19be3;hpb=bf5c679032a167a9eeb4aa16284cd5dd2426a12a;p=cs356-p2-videostore.git diff --git a/app/views/game_policy/list.rhtml b/app/views/game_policy/list.rhtml index 761de30..327c35d 100644 --- a/app/views/game_policy/list.rhtml +++ b/app/views/game_policy/list.rhtml @@ -1,20 +1,19 @@ -
<%= column.human_name %> | - <% end %> +Description | +Fee | +Period | ||||
---|---|---|---|---|---|---|---|
<%=h game_policy.send(column.name) %> | - <% end %> -<%= link_to 'Show', :action => 'show', :id => game_policy %> | +<%=h game_policy.description %> | +<%=h number_to_currency(game_policy.fee) %> | +<%=h game_policy.period %> Days | +<%= link_to 'View', :action => 'show', :id => game_policy %> | <%= link_to 'Edit', :action => 'edit', :id => game_policy %> | -<%= link_to 'Destroy', { :action => 'destroy', :id => game_policy }, :confirm => 'Are you sure?', :method => :post %> |