Sha256: 2e80de95f93474c358a892880b246b79dda9876739e48feee4bcbf7b0bdf8051
Contents?: true
Size: 535 Bytes
Versions: 13
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 total_pages: total number of pages per_page: number of items to fetch per page remote: data-remote -%> <li<% if page.current? %> class="active"<% end %>> <%= link_to_unless page.current?, content_tag(:span, page), url, remote: remote, rel: page.next? ? 'next' : page.prev? ? 'prev' : nil %> </li>
Version data entries
13 entries across 13 versions & 1 rubygems