Sha256: f222071a8a5ea09b4be54441f49f63fd46f57c8e9f483917ab966828eef5315c
Contents?: true
Size: 551 Bytes
Versions: 3
Compression:
Stored size: 551 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.page{ class: "#{'active' if page.current?}"} = link_to page, (page.current? ? 'javascript:void(0)' : url), opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil}
Version data entries
3 entries across 3 versions & 1 rubygems