Add the game mvc
[cs356-p2-videostore.git] / app / views / rentable / list.rhtml
index 0fe063d..39883c5 100644 (file)
@@ -2,7 +2,6 @@
 
 <table>
   <tr>
-    <th>Title</th>
   <% for column in Rentable.content_columns %>
     <th><%= column.human_name %></th>
   <% end %>
@@ -10,9 +9,6 @@
 
 <% for rentable in @rentables %>
   <tr>
-    <td>
-      <%=h Video.find(:first, :conditions => "rentable_id='#{rentable.id}'").title.to_s if Video.find(:first, :conditions => "rentable_id='#{rentable.id}'") %>
-    </td>
   <% for column in Rentable.content_columns %>
     <td><%=h rentable.send(column.name) %></td>
   <% end %>