Sha256: 812533eee96c5d02d0a6236fdea6c5ee34757e92a78395af95fcd1a23a84a13b

Contents?: true

Size: 900 Bytes

Versions: 11

Compression:

Stored size: 900 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">
        <%= 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"><span class="glyphicon glyphicon-search"></span> <%= t('hyrax.collections.search_form.button_label') %></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

11 entries across 11 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.5.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.4.2 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.4.1 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.4.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.3.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.2.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.1.0 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.0.2 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.0.1 app/views/hyrax/collections/_search_form.html.erb
hyrax-3.0.0 app/views/hyrax/collections/_search_form.html.erb