Sha256: 97a0237c07c14313eb7b6111686b6d9ed5665c66c40a5a35c8554d87134f58b3
Contents?: true
Size: 520 Bytes
Versions: 38
Compression:
Stored size: 520 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 -%> <%= link_to number_with_delimiter(page.to_s), url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil, :class=> page.current? ? 'disabled' : nil} %>
Version data entries
38 entries across 38 versions & 1 rubygems