Sha256: 289cc6ffa5efb538471a973901feaaa3d8bd1bdf39e630c80ae500e4947c4f3e
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
<%# Link showing page number - available local variables page: a page object for "this" page url: url to this page current_page: a page object for the currently displayed page num_pages: total number of pages per_page: number of items to fetch per page remote: data-remote -%> <li class="page-item <%= 'active' if page.current? %>"> <% if page.current? %> <span class="page-link"><%= number_with_delimiter(page.to_s) %></span> <% else %> <%= link_to number_with_delimiter(page.to_s), url, :remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil, class: 'page-link' %> <% end %> </li>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-7.0.0.rc1 | app/views/kaminari/blacklight/_page.html.erb |