Sha256: 4dd5cf1e2cf0a63d73e633165789b5633416f2279bba20bf472c677d1f44a0af
Contents?: true
Size: 527 Bytes
Versions: 11
Compression:
Stored size: 527 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-item <%= "active" if page.current? %>"> <%= link_to page, url, opts = {remote: remote, class: "page-link", rel: page.next? ? "next" : page.prev? ? "prev" : nil} %> </li>
Version data entries
11 entries across 11 versions & 1 rubygems