Sha256: b7660237803028c86f607aa72c20b316cca449791d27466410272eadbb523368

Contents?: true

Size: 742 Bytes

Versions: 11

Compression:

Stored size: 742 Bytes

Contents

<div>
  <% # this form is used on the public users page and the admin users page, so submit to current path %>
  <%= form_tag request.path, method: :get, class: "form-search" do %>
    <label class="sr-only" for="user_search"><%= t('.search_users') %></label>
    <%= text_field_tag :uq, params[:uq], class: "q", placeholder: t('.search_users'), size: '30', type: "search", id: "user_search" %>
    <%= hidden_field_tag :sort, params[:sort], id: 'user_sort' %>
    <%= render_hash_as_hidden_fields(search_state.params_for_search.except(:uq, :sort, :qt, :page, :utf8)) %>
    <button type="submit" class="btn btn-primary" id="user_submit">
      <span class="glyphicon glyphicon-search"></span><%= t('.go') %>
    </button>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

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