Sha256: 690cfd308905d3fa1f91c27e0e3929eb9883978e4139525214d2719bf03fc022

Contents?: true

Size: 569 Bytes

Versions: 5

Compression:

Stored size: 569 Bytes

Contents

/ The container tag
/ available local variables
/ 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
/ paginator:     the paginator that renders the pagination tags inside
= paginator.render do
  .pagination
    = raw 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?
        = raw gap_tag
    = raw next_page_tag

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/install/auto/app/views/kaminari/admin/_paginator.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/auto/app/views/kaminari/admin/_paginator.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/auto/app/views/kaminari/admin/_paginator.slim
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/auto/app/views/kaminari/admin/_paginator.slim
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/auto/app/views/kaminari/admin/_paginator.slim