Sha256: 34e480289631ca88afc5d9d82ba36045fda9eff3fb2a2b62c051024ce5467ebe

Contents?: true

Size: 429 Bytes

Versions: 8

Compression:

Stored size: 429 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
    total_pages:   total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>

<% unless current_page.last? %>
  <%= link_to t('views.pagination.last').html_safe, url, class: 'last', :remote => remote %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
smart_table-0.0.8 ./app/views/kaminari/smart_table/_last_page.html.erb
smart_table-0.0.7 ./app/views/kaminari/smart_table/_last_page.html.erb
smart_table-0.0.6 ./app/views/kaminari/smart_table/_last_page.html.erb
smart_table-0.0.5 ./app/views/kaminari/smart_table/_last_page.html.erb
smart_table-0.0.4 ./app/views/kaminari/smart_table/_last_page.html.erb
smart_table-0.0.3 ./app/views/kaminari/smart_table/_last_page.html.erb
smart_table-0.0.2 ./app/views/kaminari/smart_table/_last_page.html.erb
smart_table-0.0.1 ./app/views/kaminari/smart_table/_last_page.html.erb