Clear the decks for an updated version to be imported
[depot.git] / app / views / products / index.html.erb
diff --git a/app/views/products/index.html.erb b/app/views/products/index.html.erb
deleted file mode 100644 (file)
index 6bb547a..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<div id="product-list">
-  <h1>Listing products</h1>
-
-  <table>
-  <% for product in @products %>
-     <tr class="<%= cycle('list-line-odd', 'list-line-even')%>">
-
-        <td>
-          <%= image_tag product.image_url, :class => 'list-image' %>
-        </td>
-
-        <td class="list-description">
-          <dl>
-            <dt><%= h product.title %></dt>
-            <dd><%= h truncate(product.description.gsub(/<.*?>/, ''),
-                :length => 80) %></dd>
-              <% if product.date_available.past? %>
-                <dd>Available since <%= product.date_available %></dd>
-              <% else %>
-                <dd class="unavailable">Available from <%= product.date_available %></dd>
-              <% end %>
-            </dl>
-        </td>
-
-        <td class="list-actions">
-            <%= link_to 'Show', product %><br/>
-            <%= link_to 'Edit', edit_product_path(product) %><br/>
-            <%= link_to 'Destroy', product, 
-              :confirm => 'Are you sure?', 
-              :method => :delete %>
-        </td>
-    </tr>
-  <% end %>
-  </table>
-</div>
-
-<br/>
-
-<%= link_to 'New product', new_product_path %>