<%= t('blacklight.advanced_search.page_title') %>
<%= form_tag search_action_url,
:method => :get,
:id => 'basic_search_form',
:class => 'basic-search-form form-inline' do %>
<%= render_hash_as_hidden_fields(search_state.params_for_search().except(:q, :qt, :page, :f, :sort)) %>
<%= text_field_tag :q,
nil,
:placeholder => t('blacklight.search.basic_search.form.q'),
:class => 'search_q q form-control',
:id => 'q_basic',
:autofocus => should_autofocus_on_search_box?,
data: { autocomplete_enabled: autocomplete_enabled?,
autocomplete_path: blacklight.suggest_index_path } %>
<% unless search_fields.empty? %>
<%= select_tag(:search_field,
options_for_select(search_fields,
h(params[:search_field])),
:title => t('blacklight.search.basic_search.form.search_indexes'),
:id => 'basic_search_indexes',
:class=> 'btn btn-default search_index_select') %>
<% end %>
<% end %>