Sha256: 6bef61410917015cee5c08061fe490bdcd08c2de94554c80c76ac001f8d9c72e

Contents?: true

Size: 526 Bytes

Versions: 8

Compression:

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
storytime-2.1.6 app/views/kaminari/_last_page.html.erb
storytime-2.1.5 app/views/kaminari/_last_page.html.erb
storytime-2.1.4 app/views/kaminari/_last_page.html.erb
storytime-2.1.3 app/views/kaminari/_last_page.html.erb
storytime-2.1.2 app/views/kaminari/_last_page.html.erb
storytime-2.1.1 app/views/kaminari/_last_page.html.erb
storytime-2.1.0 app/views/kaminari/_last_page.html.erb
storytime-2.0.0 app/views/kaminari/_last_page.html.erb