Add Rental Policies and Limits
[cs356-p2-videostore.git] / app / views / game_policy / list.rhtml
index 761de30..03b7b37 100644 (file)
@@ -1,6 +1,6 @@
-<h1>Listing game_policies</h1>
+<h1>Game Rental Policies</h1>
 
-<table>
+<table border="1">
   <tr>
   <% for column in GamePolicy.content_columns %>
     <th><%= column.human_name %></th>
@@ -12,9 +12,8 @@
   <% for column in GamePolicy.content_columns %>
     <td><%=h game_policy.send(column.name) %></td>
   <% end %>
-    <td><%= link_to 'Show', :action => 'show', :id => game_policy %></td>
+    <td><%= link_to 'View', :action => 'show', :id => game_policy %></td>
     <td><%= link_to 'Edit', :action => 'edit', :id => game_policy %></td>
-    <td><%= link_to 'Destroy', { :action => 'destroy', :id => game_policy }, :confirm => 'Are you sure?', :method => :post %></td>
   </tr>
 <% end %>
 </table>