Sha256: faedf0058054f034c78de65582311e1a5689d94067e44306ef8ef2ebc490899d

Contents?: true

Size: 614 Bytes

Versions: 2

Compression:

Stored size: 614 Bytes

Contents

<h1><%= accurate_title %></h1>

<% content_for :sidebar do %>
  <div data-hook="taxon_sidebar_navigation">
    <%= render :partial => 'spree/shared/taxonomies' %>
    <%= render :partial => 'spree/shared/filters' if @taxon.children.empty? %>
  </div>
<% end %>

<% if @taxon.children.empty? || !params[:keywords].blank? %>
  <div data-hook="taxon_products">
    <%= render :partial => 'spree/shared/products', :locals => { :products => @products, :taxon => @taxon } %>
  </div>
<% else %>
  <div data-hook="taxon_children">
    <%= render :partial => 'taxon', :collection => @taxon.children %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-1.0.0.rc2 app/views/spree/taxons/show.html.erb
spree_core-1.0.0.rc1 app/views/spree/taxons/show.html.erb