Sha256: 63211fa008dd1339580d310cb4f5e3cb44b8ef508a3f39b60a6b4e8ebf006120
Contents?: true
Size: 1001 Bytes
Versions: 1
Compression:
Stored size: 1001 Bytes
Contents
/ The container tag - available local variables 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 paginator: the paginator that renders the pagination tags inside = paginator.render ul class="cabinet-default-pagination" / .mobile_pages - each_page do |page| = page.last? = page.last? / = raw page_tag page / - if page.left_outer? || page.right_outer? || page.inside_window? / - elsif !page.was_truncated? / li = raw gap_tag / = first_page_tag unless current_page.first? = content_tag(:li, prev_page_tag) - each_page do |page| - if page.left_outer? || page.right_outer? || page.inside_window? = raw page_tag page - elsif !page.was_truncated? li = raw gap_tag = content_tag(:li, next_page_tag) / = last_page_tag unless current_page.last?
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/views/kaminari/cabinet_default/_paginator.html.slim |