Sha256: c27a8268e3e69c73e644516e9fb8cab6057b7043b4c16096926a573590054ea2

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 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 last next"><%# "next" class present for border styling in twitter bootstrap %>
  <%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {class: 'page-link', :remote => remote} %>
</li>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap-kaminari-views-reload-0.0.5 app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb