Sha256: ec29e904543d892f66e04238537d61c7743705f671f9cfb87a844bbd94d34e6c

Contents?: true

Size: 786 Bytes

Versions: 34

Compression:

Stored size: 786 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(['10', '20', '50', '100'], h(params[:per_page])),
                                    title: "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

34 entries across 34 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.9.5 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.9.4 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.9.3 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.9.2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.9.1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.9.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.8.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.7.2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.7.1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.7.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.6.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.5.1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.5.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.0.0.pre.beta2 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.4.1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-3.0.0.pre.beta1 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.4.0 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.3.3 app/views/hyrax/my/_sort_and_per_page.html.erb
hyrax-2.3.2 app/views/hyrax/my/_sort_and_per_page.html.erb