Prettify the Customer pages
[cs356-p2-videostore.git] / app / views / customer / list.rhtml
index 30ffdb6..c9bce2b 100644 (file)
@@ -1,6 +1,6 @@
-<h1>Listing customers</h1>
+<h1>Listing Customers</h1>
 
-<table>
+<table border="1">
   <tr>
   <th>Customer ID</th>
   <% for column in Customer.content_columns %>
@@ -14,9 +14,9 @@
   <% for column in Customer.content_columns %>
     <td><%=h customer.send(column.name) %></td>
   <% end %>
-    <td><%= link_to 'Show', :action => 'show', :id => customer %></td>
+    <td><%= link_to 'View', :action => 'show', :id => customer %></td>
     <td><%= link_to 'Edit', :action => 'edit', :id => customer %></td>
-    <td><%= link_to 'Destroy', { :action => 'destroy', :id => customer }, :confirm => 'Are you sure?', :method => :post %></td>
+    <td><%= link_to 'Remove', { :action => 'destroy', :id => customer }, :confirm => 'Are you sure?', :method => :post %></td>
   </tr>
 <% end %>
 </table>