<%= form_tag exhibit_browse_path(current_exhibit, search), method: :get, class: 'browse-search-form form-horizontal', role: 'browse-search' do %> <%= render_hash_as_hidden_fields(search_state.params_for_search.except(:q, :search_field, :exhibit_id, :browse_q, :qt, :page, :utf8)) %>
<%= text_field_tag :browse_q, params[:browse_q], placeholder: t(:'.placeholder'), class: "form-control", id: "browse_q" %>
<% end %> <% if params[:browse_q]%>
<% if search.count > 0 %>

<%= t(:'.success.result_number_html', search_size: search.count, parent_search_count: parent_search_count) %>

<%= t(:'.success.expand_html', expand_search_url: search_exhibit_catalog_path(current_exhibit, q: params[:browse_q]), browse_query: params[:browse_q]) %>

<% else %>

<%= t(:'.zero_results.result_number') %>

<%= t(:'.zero_results.expand_html', clear_search_url: exhibit_browse_path(current_exhibit, search), expand_search_url: search_exhibit_catalog_path(current_exhibit, q: params[:browse_q]), browse_query: params[:browse_q])%>

<% end %>
<% end %>