Sha256: 0237a2a69719dac57297959fecc4ad63a7ace063fcaab258dc52cd859757328e

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 Bytes

Contents

%h1=@question.question
.answer=@question.answer.html_safe

- unless @question.products.all.empty?
  %hr
  %h2 Related Products
  %div{:data => {:hook => 'faq_products' } }
    = render :partial => 'spree/shared/products', :locals => { :products => @question.products }

- unless @question.taxons.all.empty?
  %hr
  %h2 Related Categories
  %ul
    - @question.taxons.each do |taxon|
      %li= link_to taxon.name, seo_url(taxon)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_grid_faq-0.0.9 app/views/spree/questions/show.html.haml
spree_grid_faq-0.0.8 app/views/spree/questions/show.html.haml
spree_grid_faq-0.0.7 app/views/spree/questions/show.html.haml