Sha256: e179d9c513db2aa88ebadcb5e02a482d055fb86c9c915b95fc68d51c4b19a901
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
# Denki Kaminari Extension ## Installation Add to your Gemfile ```bash gem 'denki', '~> 0.0.2' ``` And run in console ```bash bundle install ``` ## Usage Render pagination with this gem's theme: ```erb <%= paginate(@users, theme: 'bs5') %> ``` You can also add specific pagination and nav classes: ```erb <%= paginate(@users, theme: 'bs5', pagination_class: 'pagination-sm flex-wrap justify-content-center', nav_class: 'd-inline-block') %> ``` ### Credits Bootstrap 5 compatible styles for [bootstrap5-kaminari-views](https://github.com/felipecalvo/bootstrap5-kaminari-views) [Kaminari](https://github.com/kaminari/kaminari) - Pagination gem [twitter-bootstrap-kaminari-views](https://github.com/gabetax/twitter-bootstrap-kaminari-views) - Original, non-gemified implementation [bootstrap-kaminari-views](https://github.com/matenia/bootstrap-kaminari-views) - Bootstrap 2.x and 3.x compatible gem [bootstrap4-kaminari-views](https://github.com/KamilDzierbicki/bootstrap4-kaminari-views) - Bootstrap 4.0 compatible gem
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
denki-0.0.4 | README.md |
denki-0.0.3 | README.md |