Sha256: 82fb278907b484bf1e6d517df9bb640b968a84a0fac797c2d74d3f259ed9174a

Contents?: true

Size: 768 Bytes

Versions: 6

Compression:

Stored size: 768 Bytes

Contents

<div id="search" class="search">
  <%= form_tag url_for(:action=>'index'), :method => :get do %>
    <h2 class="search"><%= label_tag(:q, t('blacklight.search.form.q')) %></h2>
    <%= text_field_tag :q, params[:q], :class => "q" %>
    <% unless search_fields.empty? %>
      <%= label_tag(:search_field, " #{t('blacklight.search.form.search_field.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") %>
    <% end %>
    <%= search_as_hidden_fields(:omit_keys => [:q, :search_field, :qt, :page]).html_safe %>        
    
    <%= submit_tag t('blacklight.search.form.submit'), :class=>'submit' %>
  <% end %>

  <hr/>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
blacklight-3.7.2 app/views/catalog/_search_form.html.erb
blacklight-3.7.1 app/views/catalog/_search_form.html.erb
blacklight-3.7.0 app/views/catalog/_search_form.html.erb
blacklight-3.6.1.1 app/views/catalog/_search_form.html.erb
blacklight-3.6.0 app/views/catalog/_search_form.html.erb
blacklight-3.5.0 app/views/catalog/_search_form.html.erb