Sha256: 450a773a50e8deadeb8570192493e94a30aa00da2c7411f334ec9f189e72d344
Contents?: true
Size: 496 Bytes
Versions: 34
Compression:
Stored size: 496 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="<%= 'active' if page.current? %>"> <%= link_to page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %> </li>
Version data entries
34 entries across 34 versions & 1 rubygems