ref: master
app/views/search/search_page.html.erb
<%= search_page_title(_('Search Results'), {:category => @category, :tag => @tag}) %><%= form_tag( { :controller => 'search', :action => @asset ? @asset : 'index', :asset => nil, :category_path => @category.try(:path), :tag => @tag }, :method => 'get', :class => 'search_form' ) do %> <%= render :partial => 'search_form', :locals => { :hint => _("Type words about the %s you're looking for").html_safe % asset_to_human(@asset) } %> <%= render :partial => 'total_results' %> <% if @plugins.dispatch_first(:search_facets?).present? %><% if @asset == :product %> <%= javascript_tag do %> jQuery('.search-product-price-details').altBeautify(); <% end %> <% end %> <%= content_tag('script', '', :src => "https://maps.google.com/maps/api/js?sensor=true", :type => 'text/javascript') %> <%= javascript_include_tag('google_maps') %><%= render :partial => 'facets' %><%= render :partial => 'search_content' %><% else %> <%= render :partial => 'search_content' %> <% end %> <% end %>