"> <% if @category %>
<%= image_tag(@category.image.public_filename(:thumb), :id => 'category-image') if @category.image %>
<% end %> <%= search_page_title(_('Search Results'), @category) %> <%= render :partial => 'search_form', :locals => { :hint => '' } %> <%= category_context(@category, params) %> <%= display_results(@searches, @asset) %>
<% if @category %>

<%= _('Sub-categories') %>

<% if @category.children.empty? %> <%= _('No sub-categories') %> <% else %> <% end %> <% end %>