Sha256: 82797775431b4e6bc3892ba994085ff7ddb1091ebbf16b89b2632c3ea075ad6a
Contents?: true
Size: 519 Bytes
Versions: 5
Compression:
Stored size: 519 Bytes
Contents
<%# Link showing page number - available local variables page: a page object for "this" page url: url to this page current_page: a page object for the currently displayed page total_pages: total number of pages per_page: number of items to fetch per page remote: data-remote -%> <li class="<%= 'current' if page.current? %>"> <%= link_to page, page.current? ? '#' : url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %> </li>
Version data entries
5 entries across 5 versions & 1 rubygems