Sha256: 19dea253e034e035c7a14a7a1bc4d44bc3fd5a9b8fd52e9b41063eddbd60dd63

Contents?: true

Size: 646 Bytes

Versions: 10

Compression:

Stored size: 646 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" role="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

10 entries across 10 versions & 1 rubygems

Version Path
blacklight-5.7.2 app/views/catalog/_per_page_widget.html.erb
blacklight-5.5.4 app/views/catalog/_per_page_widget.html.erb
blacklight-5.7.1 app/views/catalog/_per_page_widget.html.erb
blacklight-5.7.0 app/views/catalog/_per_page_widget.html.erb
blacklight-5.6.0 app/views/catalog/_per_page_widget.html.erb
blacklight-5.5.3 app/views/catalog/_per_page_widget.html.erb
blacklight-5.5.2 app/views/catalog/_per_page_widget.html.erb
blacklight-5.5.1 app/views/catalog/_per_page_widget.html.erb
blacklight-5.5.0 app/views/catalog/_per_page_widget.html.erb
blacklight-5.4.0 app/views/catalog/_per_page_widget.html.erb