Sha256: 870fb1388867470f92dbc582251ab330943674bb80dd34ee846612c7f3517168

Contents?: true

Size: 716 Bytes

Versions: 4

Compression:

Stored size: 716 Bytes

Contents

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

      <label class="sr-only">Search Collection <%= @collection.title %></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
curation_concerns-0.11.0.rc1 app/views/collections/_search_collection_dashboard_form.html.erb
curation_concerns-0.10.0 app/views/collections/_search_collection_dashboard_form.html.erb
curation_concerns-0.9.0 app/views/collections/_search_collection_dashboard_form.html.erb
curation_concerns-0.8.0 app/views/collections/_search_collection_dashboard_form.html.erb