Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hobo_will_paginate-bootstrap

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hobo_will_paginate-bootstrap

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

will_paginate-bootstrap

Code Climate

Bootstrap Pagination Component

This gem integrates the Twitter Bootstrap pagination component with the will_paginate pagination gem.

Just like will_paginate, Rails and Sinatra are supported.

Install

  • gem install will_paginate-bootstrap, or
  • For projects using Bundler, add gem 'will_paginate-bootstrap' to your Gemfile (and then run bundle install).

Usage

Rails

  1. Load the Bootstrap CSS in your template.
  2. In your view, use the renderer: BootstrapPagination::Rails option with the will_paginate helper, for example:
<%= will_paginate @collection, renderer: BootstrapPagination::Rails %>

Sinatra

  1. Load the Bootstrap CSS in your template.
  2. require "will_paginate-bootstrap" in your Sinatra app.
  3. In your view, use the renderer: BootstrapPagination::Sinatra option with the will_paginate helper, for example:
<%= will_paginate @collection, renderer: BootstrapPagination::Sinatra %>

Compatibility

Starting at version 1.0, this gem no longer supports Bootstrap 2.

Ruby>= 1.9.2
will_paginate>= 3.0.3
Twitter Bootstrap>= 3.0.0

Legacy Bootstrap 2 Support

Use version 0.2.5, in your GemFile use

gem 'will_paginate-bootstrap', '0.2.5'

FAQs

Package last updated on 22 Dec 2013

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc