Sha256: 7ab85dc98a2b2c009535322f4a75751ca1b82a48809f4ad08f99c084a3982fd5

Contents?: true

Size: 691 Bytes

Versions: 4

Compression:

Stored size: 691 Bytes

Contents

<div style="float: right;" >
  <%= form_for [collections, @collection], method: :get, class: "well form-search" do |f| %>

      <label class="accessible-hidden">Search Collection <%= @collection.title.first %></label>
      <%= text_field_tag :cq, params[:cq], class: "collection-query", placeholder: "Search Collection", size: '30', type: "search", id: "collection_search" %>
      <%= hidden_field_tag :sort, params[:sort], id: 'collection_sort' %>
      <%= render_hash_as_hidden_fields(search_state.params_for_search.except(:cq, :sort, :qt, :page)) %>
      <button type="submit" class="btn btn-primary" id="collection_submit"><i class="icon-search"></i> Go</button>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hydra-collections-8.2.0 app/views/collections/_search_form.html.erb
hydra-collections-8.1.1 app/views/collections/_search_form.html.erb
hydra-collections-8.1.0 app/views/collections/_search_form.html.erb
hydra-collections-8.0.0 app/views/collections/_search_form.html.erb