Sha256: 644ff1e6d951dfef85399eaa824db3403d113bb24a63150212633ac85e316d4a

Contents?: true

Size: 929 Bytes

Versions: 15

Compression:

Stored size: 929 Bytes

Contents

  <%= form_for presenter, url: url, method: :get, class: "well form-search" do |f| %>
      <label for="collection_search" class="sr-only"><%= t('hyrax.collections.search_form.label', title: presenter.to_s) %></label>
      <div class="input-group mb-sm-auto">
        <%= 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-append">
          <button type="submit" class="btn btn-primary" id="collection_submit"><span class="fa fa-search"></span> <%= t('hyrax.collections.search_form.button_label') %></button>
        </div>
      </div>
      <%= hidden_field_tag :sort, params[:sort], id: 'collection_sort' %>
      <%= render Blacklight::HiddenSearchStateComponent.new(params: search_state.params_for_search.except(:cq, :sort, :qt, :page)) %>
  <% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/collections/_search_form.html.erb
hyrax-5.0.4 app/views/hyrax/collections/_search_form.html.erb
hyrax-5.0.3 app/views/hyrax/collections/_search_form.html.erb
hyrax-5.0.2 app/views/hyrax/collections/_search_form.html.erb
hyrax-5.0.1 app/views/hyrax/collections/_search_form.html.erb
hyrax-5.0.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/collections/_search_form.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/collections/_search_form.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/collections/_search_form.html.erb
hyrax-4.0.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/collections/_search_form.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/collections/_search_form.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/collections/_search_form.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/collections/_search_form.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/collections/_search_form.html.erb