Sha256: 6f2edeffdfceb182ded1d9f2fa648c390e7a13538c8fb7602a1a311240aaaa2c

Contents?: true

Size: 757 Bytes

Versions: 11

Compression:

Stored size: 757 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 Blacklight::HiddenSearchStateComponent.new(params: search_state.params_for_search.except(:uq, :sort, :qt, :page, :utf8)) %>
    <button type="submit" class="btn btn-primary" id="user_submit">
      <span class="fa fa-search"></span><%= t('.go') %>
    </button>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/views/hyrax/users/_search_form.html.erb
hyrax-5.0.0 app/views/hyrax/users/_search_form.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/users/_search_form.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/users/_search_form.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/users/_search_form.html.erb
hyrax-4.0.0 app/views/hyrax/users/_search_form.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/users/_search_form.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/users/_search_form.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/users/_search_form.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/users/_search_form.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/users/_search_form.html.erb