Sha256: 2caea0681a5a8c65fe72e79cbcd73d7b70e4342e315d64d19f406b54268666b2

Contents?: true

Size: 848 Bytes

Versions: 4

Compression:

Stored size: 848 Bytes

Contents

<%= render :partial => "shared/breadcrumbs", :locals => {
  :crumbs => @taxon.children.empty? ? [{:path => seo_url(@taxon.parent), :name => @taxon.parent.name}] : [],
  :location => accurate_title
} %>

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

<% content_for :sidebar do %>
  <%= hook :taxon_sidebar_navigation do %>
    <%= render :partial => "shared/taxonomies" %>
    <%= render(:partial => "shared/filters") if @taxon.children.empty? %>
  <% end %>
<% end %>

<% if @taxon.children.empty? || !params[:keywords].blank? %>
  <%= hook :taxon_products do %>
    <%= render :partial => "shared/products", :locals => {:products => @products, :taxon => @taxon } %>
  </ul>
  <% end %>
<% else %>
  <%= hook :taxon_children do %>
    <ul class="thumbnails">
      <%= render :partial => "taxon", :collection => @taxon.children %>
    </ul>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
synergy_bootstrap_theme-0.0.4 app/views/taxons/show.html.erb
synergy_bootstrap_theme-0.0.3 app/views/taxons/show.html.erb
synergy_bootstrap_theme-0.0.2 app/views/taxons/show.html.erb
synergy_bootstrap_theme-0.0.1 app/views/taxons/show.html.erb