Sha256: aec03f08fffd1a7bdfb0a79a038710056b7a33302fcaa37a5cff0640c3fc307f

Contents?: true

Size: 634 Bytes

Versions: 3

Compression:

Stored size: 634 Bytes

Contents

<% if show_sort_and_per_page? and !blacklight_config.per_page.blank? %>

  <span class="sr-only"><%= t('blacklight.search.per_page.title') %></span>
<div id="per_page-dropdown" class="btn-group">
  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><%= link_to(t(:'blacklight.search.per_page.button_label', :count => current_per_page), "#") %> <span class="caret"></span></button>
  <ul class="dropdown-menu">
    <%- per_page_options_for_select.each do |(label, count)| %>
      <li><%= link_to(label, url_for(params_for_search(:per_page => count))) %></li>
    <%- end -%>
  </ul>
</div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-5.4.0.rc1 app/views/catalog/_per_page_widget.html.erb
blacklight-5.3.0 app/views/catalog/_per_page_widget.html.erb
blacklight-5.2.0 app/views/catalog/_per_page_widget.html.erb