<%= form_tag exhibit_browse_path(current_exhibit, search), method: :get, class: 'browse-search-form search-query-form form-horizontal', role: 'search', 'aria-labelledby' => 'browse-search-form' do %> <%= render Blacklight::HiddenSearchStateComponent.new(params: search_state.params_for_search.except(:q, :search_field, :exhibit_id, :qt, :page)) %>
<%= text_field_tag :q, params[:q], placeholder: t(:'.placeholder'), class: "form-control", id: "browse_q" %>
<% end %> <% if params[:q].present? %>
<% if @response.size > 0 %>

<%= t(:'.success.result_number_html', search_size: @response.size, parent_search_count: parent_search_count) %>

<%= t(:'.success.expand_html', expand_search_url: search_exhibit_catalog_path(current_exhibit, q: params[:q]), browse_query: params[: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[:q]), browse_query: params[:q])%>

<% end %>
<% end %>