Sha256: 9c8a70e1f37ccf5fa01d617b4a16ac7979b17251651abb101bbe6d934066f943

Contents?: true

Size: 570 Bytes

Versions: 3

Compression:

Stored size: 570 Bytes

Contents

<%# Link to the "Last" page
  - available local variables
    url:           url to the last 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
-%>
<% unless current_page.last? %>
<li class="page-item">
  <%= link_to_unless current_page.last?,
                     raw(t 'views.pagination.last'),
                     url,
                     :class => 'page-link',
                     :remote => remote %>
</li>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
denki-0.0.4 app/views/kaminari/bs5/_last_page.html.erb
denki-0.0.3 app/views/kaminari/bs5/_last_page.html.erb
denki-0.0.1 app/views/kaminari/bs5/_last_page.html.erb