Sha256: c4a5baae6791d490e0396261a74c790406c1d4e50872436321d274c743a46456

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

<%= form_tag search_action_url, :method => :get, :class => 'search-query-form clearfix' 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.q') %></label>
  <%= text_field_tag :q, params[:q], :placeholder => t('blacklight.search.form.q'), :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

6 entries across 6 versions & 1 rubygems

Version Path
geoblacklight-0.7.0 app/views/catalog/_search_form_no_navbar.html.erb
geoblacklight-0.6.2 app/views/catalog/_search_form_no_navbar.html.erb
geoblacklight-0.6.1 app/views/catalog/_search_form_no_navbar.html.erb
geoblacklight-0.6.0 app/views/catalog/_search_form_no_navbar.html.erb
geoblacklight-0.5.1 app/views/catalog/_search_form_no_navbar.html.erb
geoblacklight-0.5.0 app/views/catalog/_search_form_no_navbar.html.erb