Sha256: e929c4295d5a9015a702a8a0c42517c37bf386241956362817a6c7bd2228ce32
Contents?: true
Size: 535 Bytes
Versions: 27
Compression:
Stored size: 535 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 -%> <% unless page.current? %> <%= link_to page, url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %> <% else -%> <%= content_tag(:span, page)%> <% end -%>
Version data entries
27 entries across 27 versions & 2 rubygems