Sha256: 32d69207e0bc9ac223f7621c26e62fec3942723f73f1edf29e58abfa8c508cb5

Contents?: true

Size: 565 Bytes

Versions: 3

Compression:

Stored size: 565 Bytes

Contents

<%= stylesheets %>
<%= render :partial => 'menu' -%>
<h1>Products</h1><br/>
<div id="product-listing">
<% for product in @products %>  
<li class="product preview" id="product_<%= product.id %>">
        <a href="/store/show/<%=product.id%>">
          <%= image_tag 'products/' + product.filename, :size => '100x100' %>
        </a>
	 	<%= link_to product.name, :controller => :store, :action => 'show', :id => product %>
        <b>$<%=product.price%></b>
</li>
<%= draggable_element("product_#{product.id}", :revert => true) %>

<% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
railscart-0.0.1 starter-app/vendor/plugins/railscart/app/views/store/list.rhtml
railscart-0.0.2 starter_app/vendor/plugins/railscart/app/views/store/list.rhtml
railscart-0.0.3 starter_app/vendor/plugins/railscart/app/views/store/list.rhtml