Sha256: 1473b6c5e526a6a9725d46f3479a65af0b02d17918b5fd804d8bc1c72b527ef3

Contents?: true

Size: 477 Bytes

Versions: 5

Compression:

Stored size: 477 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
.page-item class=(:active if page.current?)
  = link_to page, url, remote: remote, rel: (page.next? ? :next : (page.prev? ? :prev : nil)), class: 'page-link'

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/_page.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/auto/app/views/kaminari/admin/_page.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/auto/app/views/kaminari/admin/_page.slim
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/auto/app/views/kaminari/admin/_page.slim
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/auto/app/views/kaminari/admin/_page.slim