<% content_for :sidebar do %> <% if "products" == @current_controller && @taxon %> <%= render :partial => "shared/filters" %> <% else %> <%= render :partial => "shared/taxonomies" %> <% end %> <% end %> <%= render :partial => "shared/products.html.erb", :locals => {:products => @products, :taxon => @taxon } %> <%= will_paginate(:prev => "« #{t('previous')}", :next => "#{t('next')} »") %>