Sha256: 30f9c7650eb0e14a52bd27e9fe1deb4256b1f82ed9d9adf1c840186ae6636296

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 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(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

1 entries across 1 versions & 1 rubygems

Version Path
commonwealth-vlr-engine-0.0.1 app/views/collections/_search_form_collection.html.erb