Sha256: 52cb39de1a7a918c81b6d79ebfb5d3d8dc254035d83ee3491f62b802befb7ea2
Contents?: true
Size: 574 Bytes
Versions: 7
Compression:
Stored size: 574 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="page<%= ' active' if page.current? %>"> <%= link_to_unless page.current?, page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} do |name| %> <span><%= name %></span> <% end %> </li>
Version data entries
7 entries across 7 versions & 1 rubygems