1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
kaminari--kaminari/app/views/kaminari/_first_page_link.html.haml
2011-02-11 17:56:20 +09:00

10 lines
415 B
Text

-# Link with page number that appears at the leftmost
- available local variables
page: the page number of this page
url: url to this page
current_page: the page number of currently displayed page
num_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
%span.page.first
= link_to page, url, :remote => remote