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/_page_link.html.erb
2011-02-11 17:56:20 +09:00

12 lines
409 B
Text

<%# Link showing page number
- 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 class="page">
<%= link_to page, url, :remote => remote %>
</span>