Haml Components
class Components::Products::TeaserHaml < Matestack::Ui::Component
requires :product
end= link_to product_path(product), class: 'product-teaser' do
%div
%h2= product.name
%p= product.description
%b= product.priceLast updated
Was this helpful?