Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<div class="product thumbnail">
<div class="caption">
<span class="text-muted pull-right"><%= @product.pack_size %></span>
<h2>
<div class="product-name"><%= @product.name %></div>
<span class="pull-right">₹
<small class="product-price"><%= @product.price %></small>
</span>
</h2>
<hr/>
<%= render "cart_form.html", product: @product, conn: @conn %>
</div>
<img src="<%= @product.image %>" />
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment