Sha256: bf3428460b8d5a4a43b0e87fd3b745a237f61aacea8094cd935e1195e61b243d
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
<%# Link to the "First" page - available local variables url: url to the first 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 -%> <%= content_tag :li, :class => "first #{'disabled' if current_page.first?}" 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.first"), (current_page.first? ? "#" : 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/_first_page.html.erb |