Skip to content

Japan-Venture-Research/will_paginate-purecss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

will_paginate-purecss

This gem integrates the Pure paginator control with the will_paginate pagination gem.

Just like will_paginate, Rails and Sinatra are supported.

Thanks to will_paginate-bootstrap.

Install

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

Usage

Rails

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

Sinatra

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

Compatibility

Ruby >= 1.9.2
will_paginate >= 3.0.3
Pure >= 0.5.0

License

MIT-License

About

Integrates the Pure paginator control with will_paginate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages