Sha256: d60b2879112e9a5c32fcc1283e4c0fa3c99601f3e58eea9ff398cb2daee87b27

Contents?: true

Size: 792 Bytes

Versions: 15

Compression:

Stored size: 792 Bytes

Contents

<% if show_sort_and_per_page? %>
  <div class="sort-toggle mt-2">
      <%= form_tag search_action_for_dashboard, method: :get, class: 'per_page' do %>
        <fieldset class="col-12">
          <legend class="sr-only"><%= t('hyrax.dashboard.my.sr.results_per_page') %></legend>
          <%= label_tag :per_page do %>
              Show <%= select_tag :per_page, options_for_select(Hyrax.config.range_for_number_of_results_to_display_per_page.map(&:to_s), h(params[:per_page])),
                                  title: t(".number_of_results_to_display_per_page") %> per page
          <% end %>
          <%= render Blacklight::HiddenSearchStateComponent.new(params: search_state.params_for_search.except(:per_page, :sort, :utf8)) %>
        </fieldset>
      <% end %>
  </div>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-5.0.4 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-5.0.3 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-5.0.2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-5.0.1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-5.0.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-4.0.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/my/_sort_and_per_page.html.erb