tap/app/views/products/_product.html.haml
2016-03-02 22:03:07 +01:00

10 lines
320 B
Text

.col-md-3
.thumbnail.pic.dagschotel-edit
= image_tag product.avatar, class: "dagschotel-edit-image img-responsive"
.caption
= kcal_tag product.calories
%h4= product.name
%h3= euro(product.price)
%h6
(In stock: #{product.stock})
= render 'products/links', product: product