-<h1>Listing rentable_policies</h1>
+<h1>Rental Policies</h1>
-<table>
+<table border="1">
<tr>
<% for column in RentablePolicy.content_columns %>
<th><%= column.human_name %></th>
<% for column in RentablePolicy.content_columns %>
<td><%=h rentable_policy.send(column.name) %></td>
<% end %>
- <td><%= link_to 'Show', :action => 'show', :id => rentable_policy %></td>
+ <td><%= link_to 'View', :action => 'show', :id => rentable_policy %></td>
<td><%= link_to 'Edit', :action => 'edit', :id => rentable_policy %></td>
- <td><%= link_to 'Destroy', { :action => 'destroy', :id => rentable_policy }, :confirm => 'Are you sure?', :method => :post %></td>
</tr>
<% end %>
</table>
<%= link_to 'Next page', { :page => @rentable_policy_pages.current.next } if @rentable_policy_pages.current.next %>
<br />
-
-<%= link_to 'New rentable_policy', :action => 'new' %>