tap/app/views/products/_product.html.haml
2015-09-17 14:05:33 +02:00

11 lines
279 B
Text

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