Sha256: 5b8e5a316f3bdeb5b62bdb82b0b120fdfa51639ba698b26382a257e938e26a4f

Contents?: true

Size: 521 Bytes

Versions: 4

Compression:

Stored size: 521 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?, "Dernier".html_safe, url, {:remote => remote} %>
</li>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
photos_manager-0.0.5 app/views/photos_manager/kaminari/_last_page.html.erb
photos_manager-0.0.4 app/views/photos_manager/kaminari/_last_page.html.erb
photos_manager-0.0.3 app/views/photos_manager/kaminari/_last_page.html.erb
photos_manager-0.0.2 app/views/photos_manager/kaminari/_last_page.html.erb