Sha256: 1925f285d11258248bb43b567805e16a4ba059a5c3ece69dbab8f517d46b3112

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

- if page.current?
  li.page-item.active
    = content_tag :a, page, remote: remote, rel: (page.next? ? 'next' : (page.prev? ? 'prev' : nil)), class: 'page-link'
- else
  li.page-item
    = link_to page, url, remote: remote, rel: (page.next? ? 'next' : (page.prev? ? 'prev' : nil)), class: 'page-link'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mini_blog-0.1.1 app/views/kaminari/bootstrap4/_page.html.slim
mini_blog-0.1.0 app/views/kaminari/bootstrap4/_page.html.slim