projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-add editability of COItems, so we can verify overdue item support
[cs356-p2-videostore.git]
/
app
/
views
/
rentable_policy
/
list.rhtml
diff --git
a/app/views/rentable_policy/list.rhtml
b/app/views/rentable_policy/list.rhtml
index
b5a4833
..
a5be4fb
100644
(file)
--- a/
app/views/rentable_policy/list.rhtml
+++ b/
app/views/rentable_policy/list.rhtml
@@
-1,6
+1,6
@@
-<h1>
Listing rentable_p
olicies</h1>
+<h1>
Rental P
olicies</h1>
-<table>
+<table
border="1"
>
<tr>
<% for column in RentablePolicy.content_columns %>
<th><%= column.human_name %></th>
<tr>
<% for column in RentablePolicy.content_columns %>
<th><%= column.human_name %></th>
@@
-12,9
+12,8
@@
<% for column in RentablePolicy.content_columns %>
<td><%=h rentable_policy.send(column.name) %></td>
<% end %>
<% for column in RentablePolicy.content_columns %>
<td><%=h rentable_policy.send(column.name) %></td>
<% end %>
- <td><%= link_to '
Sho
w', :action => 'show', :id => rentable_policy %></td>
+ <td><%= link_to '
Vie
w', :action => 'show', :id => rentable_policy %></td>
<td><%= link_to 'Edit', :action => 'edit', :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>
</tr>
<% end %>
</table>
@@
-23,5
+22,3
@@
<%= link_to 'Next page', { :page => @rentable_policy_pages.current.next } if @rentable_policy_pages.current.next %>
<br />
<%= link_to 'Next page', { :page => @rentable_policy_pages.current.next } if @rentable_policy_pages.current.next %>
<br />
-
-<%= link_to 'New rentable_policy', :action => 'new' %>