Sha256: 1d6ef39f0290daa2e9619476080f7b1879ea6205b18a31f08e2b9d26ee42b19f

Contents?: true

Size: 1.31 KB

Versions: 31

Compression:

Stored size: 1.31 KB

Contents

  <%= form_tag search_action_url, :method => :get, :class => 'search-query-form clearfix navbar-form' do %>
    <%= render_hash_as_hidden_fields(params_for_search().except(:q, :search_field, :qt, :page, :utf8)) %>

    <% unless search_fields.empty? %>
      <label for="search_field" class="sr-only"><%= t('blacklight.search.form.search_field.label') %></label>
      <%= select_tag(:search_field, options_for_select(search_fields, h(params[:search_field])), :title => t('blacklight.search.form.search_field.title'), :class=>"search_field form-control") %>
      <span class="sr-only"><%= t('blacklight.search.form.search_field.post_label') %></span>
    <% end %>
    <div class="input-group search-input-group">
        <label for="q" class="sr-only"><%= t('blacklight.search.form.search.label') %></label>
         <%= text_field_tag :q, params[:q], :placeholder => t('blacklight.search.form.search.placeholder'), :class => "search_q q form-control", :id => "q", :autofocus => should_autofocus_on_search_box? %>

      <span class="input-group-btn">
        <button type="submit" class="btn btn-primary search-btn" id="search">
          <span class="submit-search-text"><%=t('blacklight.search.form.submit')%></span>
          <span class="glyphicon glyphicon-search"></span>
        </button>
        </span>
      </div>
  <% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
blacklight-5.19.2 app/views/catalog/_search_form.html.erb
blacklight-5.19.1 app/views/catalog/_search_form.html.erb
blacklight-5.19.0 app/views/catalog/_search_form.html.erb
blacklight-5.18.0 app/views/catalog/_search_form.html.erb
blacklight-5.17.2 app/views/catalog/_search_form.html.erb
blacklight-5.17.1 app/views/catalog/_search_form.html.erb
blacklight-5.17.0 app/views/catalog/_search_form.html.erb
blacklight-5.16.4 app/views/catalog/_search_form.html.erb
blacklight-5.16.3 app/views/catalog/_search_form.html.erb
blacklight-5.16.2 app/views/catalog/_search_form.html.erb
blacklight-5.16.1 app/views/catalog/_search_form.html.erb
blacklight-5.16.0 app/views/catalog/_search_form.html.erb
blacklight-5.15.0 app/views/catalog/_search_form.html.erb
blacklight-5.14.0 app/views/catalog/_search_form.html.erb
blacklight-5.13.1 app/views/catalog/_search_form.html.erb
blacklight-5.13.0 app/views/catalog/_search_form.html.erb
blacklight-5.11.3 app/views/catalog/_search_form.html.erb
blacklight-5.12.1 app/views/catalog/_search_form.html.erb
blacklight-5.12.0 app/views/catalog/_search_form.html.erb
blacklight-5.10.3 app/views/catalog/_search_form.html.erb