Add Bitem (bought items) MVC
[cs356-p2-videostore.git] / app / views / merchandise / list.rhtml
index c8a1ba0..a328f09 100644 (file)
@@ -2,6 +2,7 @@
 
 <table>
   <tr>
+  <th>Merchandise ID</th>
   <% for column in Merchandise.content_columns %>
     <th><%= column.human_name %></th>
   <% end %>
@@ -9,6 +10,7 @@
   
 <% for merchandise in @merchandises %>
   <tr>
+  <td><%=h merchandise.id %></td>
   <% for column in Merchandise.content_columns %>
     <td><%=h merchandise.send(column.name) %></td>
   <% end %>