Sha256: 81265d55fa90d556bb6f8741153eb384d12c21b45ca33596c15f97d29054b194

Contents?: true

Size: 837 Bytes

Versions: 12

Compression:

Stored size: 837 Bytes

Contents

<% if show_sort_and_per_page? %>
  <div class="sort-toggle">
      <%= form_tag search_action_for_dashboard, method: :get, class: 'per_page form-inline' do %>
        <div class="form-group">
          <fieldset class="col-xs-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_hash_as_hidden_fields(search_state.params_for_search.except(:per_page, :sort, :utf8)) %>
          </fieldset>
        </div>
      <% end %>
  </div>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.5.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.4.2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.4.1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.4.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.3.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.2.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.1.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.0.2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.0.1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.0.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/my/_sort_and_per_page.html.erb