master
1<%# Link to the "Last" page
2 - available local variables
3 url: url to the last page
4 current_page: a page object for the currently displayed page
5 num_pages: total number of pages
6 per_page: number of items to fetch per page
7 remote: data-remote
8-%>
9<% unless current_page.last? %>
10<li class="page-item"><%# "next" class present for border styling in twitter bootstrap %>
11 <%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, remote: remote, class: 'page-link' %>
12</li>
13<% end %>