Socket
Book a DemoInstallSign in
Socket

bootstrap-kaminari-views

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-kaminari-views

0.0.5
bundlerRubygems
Version published
Maintainers
1
Created
Source

= Bootstrap Kaminari Views

Basic Gem for quick default inclusion of {Kaminari}[https://github.com/amatsuda/kaminari] theme compatible with {Twitter Bootstrap 2.0}[http://getbootstrap.com/2.3.2/] and {Twitter Bootstrap 3.0}[http://getbootstrap.com]

= Usage

Ensure your gemfile contains

gem 'kaminari'
gem 'bootstrap-kaminari-views'

Render Pagination with a theme

= paginate @posts, :theme => 'twitter-bootstrap'

= paginate @posts, :theme => 'twitter-bootstrap-3'

Render with specific pagination classes

= paginate @posts, :theme => 'twitter-bootstrap-3', 
                   :pagination_class => "pagination-sm"

Render with specific pagination classes

= paginate @posts, :theme => 'twitter-bootstrap', 
                   :pagination_class => "pagination-small pagination-centered"

= Credits

{Kaminari}[https://github.com/amatsuda/kaminari] - For making an awesome gem

{twitter-bootstrap-kaminari-views}[https://github.com/gabetax/twitter-bootstrap-kaminari-views] - Non Gemified Implementation

FAQs

Package last updated on 06 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.