tap/app/views/products/_product.html.haml
2015-09-22 20:06:50 +02:00

11 lines
271 B
Text

.col-md-3
.thumbnail.pic
.center
= 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