Sha256: dc000126a4ddada0155fe1510cf9481055498f7e3513ddb34ed7aea3fcd1d57c

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

<% if @taxon and not @taxon.questions.limit(3).all.empty? %>
<div data-hook="taxon_sidebar_faq">
  <h6 class="taxonomy-root"><%=@taxon.name%> FAQ</h6>
  <ul class="taxons-list">
    <% @taxon.questions.limit(3).each do |question| %>
      <li><%=link_to question.question, question%></li>
    <% end %>
  </ul>
</div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_grid_faq-0.1.0 app/views/spree/shared/_taxon_faq.html.erb
spree_grid_faq-0.0.9 app/views/spree/shared/_taxon_faq.html.erb
spree_grid_faq-0.0.8 app/views/spree/shared/_taxon_faq.html.erb
spree_grid_faq-0.0.7 app/views/spree/shared/_taxon_faq.html.erb