Sha256: 9ddc19ec2b4cdc8d4bebc2743b9dc260b541a536f6dc6c814a7501baccf7a4b2

Contents?: true

Size: 1.2 KB

Versions: 11

Compression:

Stored size: 1.2 KB

Contents

  <%= form_tag search_action_url, :method => :get, :class => 'search-query-form form-inline clearfix' do %>
    <%= search_as_hidden_fields(:omit_keys => [:q, :search_field, :qt, :page]).html_safe %> 

    <% unless search_fields.empty? %>
      <div class="pull-left">
        <label for="search_field" class="hide-text"><%= 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 input-small") %>
        <span class="hide-text"><%= t('blacklight.search.form.search_field.post_label') %></span>
      </div>
      <% end %>
       <div class="input-append pull-left">
        <label for="q" class="hide-text"><%= t('blacklight.search.form.q') %></label>
         <%= text_field_tag :q, params[:q], :placeholder => t('blacklight.search.form.q'), :class => "search_q q", :id => "q"%>
        <button type="submit" class="btn btn-primary search-btn" id="search">
          <span class="submit-search-text"><%=t('blacklight.search.form.submit')%></span>
          <i class="icon-search icon-white"></i>
        </button>

       </div>

  <% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
blacklight-4.3.0 app/views/catalog/_search_form.html.erb
blacklight-4.2.2 app/views/catalog/_search_form.html.erb
blacklight-4.2.1 app/views/catalog/_search_form.html.erb
blacklight-4.2.0 app/views/catalog/_search_form.html.erb
blacklight-4.1.0 app/views/catalog/_search_form.html.erb
blacklight-4.0.1 app/views/catalog/_search_form.html.erb
blacklight-4.0.0 app/views/catalog/_search_form.html.erb
blacklight-4.0.0.rc2 app/views/catalog/_search_form.html.erb
blacklight-4.0.0.rc1 app/views/catalog/_search_form.html.erb
blacklight-4.0.0.pre7 app/views/catalog/_search_form.html.erb
blacklight-4.0.0.pre6 app/views/catalog/_search_form.html.erb