Sha256: 9313ee211ecf35d83d5710b5424698f3742d54b41a812e850538bd26ca66a969

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

<div id="collection_search_form">
  <%= form_tag search_action_url,
               :method => :get,
               :class => 'search-query-form form-inline collection-search' do %>
      <%= render_hash_as_hidden_fields(search_state.params_for_search(:f => params[:f]).except('q', 'search_field', 'qt', 'page')) %>

      <div class="input-group pull-left">
        <label for="q_coll" class="sr-only"><%= t('blacklight.search.form.collection') %></label>
        <%= text_field_tag :q,
                           params[:q],
                           :placeholder => t('blacklight.search.form.collection'),
                           :class => 'search_q q form-control',
                           :id => 'q_coll',
                           :autofocus => false %>
        <span class="input-group-btn">
          <button type="submit" class="btn btn-primary search-btn" id="collection-search">
            <span class="submit-search-text"><%=t('blacklight.search.form.submit')%></span>
            <span class="glyphicon glyphicon-search glyphicon-white"></span>
          </button>
        </span>
      </div>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
commonwealth-vlr-engine-0.0.7 app/views/collections/_search_form_collection.html.erb
commonwealth-vlr-engine-0.0.4 app/views/collections/_search_form_collection.html.erb
commonwealth-vlr-engine-0.0.3 app/views/collections/_search_form_collection.html.erb
commonwealth-vlr-engine-0.0.2 app/views/collections/_search_form_collection.html.erb