Sha256: 26c770944ce85955db516e5d182037407a1f59ba7357263b70960408b3c221f7

Contents?: true

Size: 808 Bytes

Versions: 10

Compression:

Stored size: 808 Bytes

Contents

  <%= form_for presenter, method: :get, class: "well form-search" do |f| %>
      <label class="sr-only"><%= t('hyrax.collections.search_form.label', title: presenter.to_s) %></label>
      <div class="input-group">
        <%= text_field_tag :cq, params[:cq], class: "collection-query form-control", placeholder: t('hyrax.collections.search_form.placeholder'), size: '30', type: "search", id: "collection_search" %>
        <div class="input-group-btn">
          <button type="submit" class="btn btn-primary" id="collection_submit"><i class="glyphicon glyphicon-search"></i> Go</button>
        </div>
      </div>
      <%= hidden_field_tag :sort, params[:sort], id: 'collection_sort' %>
      <%= render_hash_as_hidden_fields(search_state.params_for_search.except(:cq, :sort, :qt, :page)) %>
  <% end %>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/views/hyrax/collections/_search_form.html.erb
hyrax-1.1.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-1.0.5 app/views/hyrax/collections/_search_form.html.erb
hyrax-1.0.4 app/views/hyrax/collections/_search_form.html.erb
hyrax-1.0.3 app/views/hyrax/collections/_search_form.html.erb
hyrax-1.0.2 app/views/hyrax/collections/_search_form.html.erb
hyrax-1.0.1 app/views/hyrax/collections/_search_form.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/collections/_search_form.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/collections/_search_form.html.erb
test_hyrax-0.0.1.alpha app/views/hyrax/collections/_search_form.html.erb