Sha256: e4870fc798cec1e0c45a76c91e0d6ba60a95aeab0948df3935d51a1df5487d0e
Contents?: true
Size: 561 Bytes
Versions: 6
Compression:
Stored size: 561 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 => 'page' + (page.current? ? ' active' : '')} - if page.current? %a= page - else = link_to page, url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil}
Version data entries
6 entries across 6 versions & 2 rubygems