Sha256: d1c09213ed50862cb126caf6fdf6eef2134069aa857177e6a4fcbe3fcb2275ba

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

- content_for :sidebar do
  = render :partial => "spree/shared/faq_taxons"

%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

1 entries across 1 versions & 1 rubygems

Version Path
spree_grid_faq-0.1.0 app/views/spree/questions/show.html.haml