tap/app/views/products/_product.html.haml

11 lines
320 B
Text
Raw Normal View History

2015-09-17 14:05:33 +02:00
.col-md-3
2016-03-02 18:51:04 +01:00
.thumbnail.pic.dagschotel-edit
2016-03-02 22:03:07 +01:00
= image_tag product.avatar, class: "dagschotel-edit-image img-responsive"
2015-09-17 14:05:33 +02:00
.caption
= kcal_tag product.calories
%h4= product.name
%h3= euro(product.price)
%h6
(In stock: #{product.stock})
= render 'products/links', product: product