Sha256: c7547168cfd476bf1ae21c93cb79dc31b7b85786c8445b9c8ae8f5e8195bcea1

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 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
-%>
<%# "next" class present for border styling in twitter bootstrap %>
<%= content_tag :li, :class => "last next #{'disabled' if current_page.last?}" do %>
  <%# FIXME: In Bootstrap 2.1.0 it will be possible to use a span tag for disabled pagination links %>
  <%= link_to t("views.pagination.last"), (current_page.last? ? "#" : url), :remote => remote %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
da-suspenders-2.0.0 template/trout/app/views/kaminari/_last_page.html.erb