Sha256: 3a36553de610baf1b67dfb7e77d9a7eda684206fbed0c320377a18adea589807
Contents?: true
Size: 531 Bytes
Versions: 47
Compression:
Stored size: 531 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 num_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 number_with_delimiter(page.to_s), url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %> </li>
Version data entries
47 entries across 47 versions & 1 rubygems