Files
openfoodnetwork/app/components/product_component/product_component.html.haml
2022-12-07 15:08:53 +01:00

12 lines
272 B
Plaintext

%tr
- @columns.each do |column|
- if column[:id] == "name"
%td.products_column.title
- if @image
.image
= image_tag @image.url(:mini)
= @name
- else
%td.products_column{class: column[:id]}
= column[:value]