<%= form_tag( { :controller => 'search', :action => @asset ? @asset : 'index', :asset => nil, :category_path => ( @category ? @category.path : nil ) }, :method => 'get', :class => 'search_form' ) do %>
<%= assets_menu(@asset) %> <%= filters(@asset) %>
<%= assets_submenu(@asset) %>
<%= search_input_with_suggestions('query', @asset, @query, {:id => 'search-input', :size => 50, :placeholder => hint}) %> <%= submit_button(:search, _('Search')) %>
<%= render :partial => 'search_form_extra_fields' %> <% end %> <% if @empty_query %> <% hint = environment.search_hints[@asset] %> <% if hint and !hint.blank? %>
<%= hint %>
<% end %> <% end %>