Purecss::WillPaginate
Rails Engine that extends will_paginate stylings to match the pagination styling conventions in Pure CSS toolkit.
Check the gem purecss to include Pure in the Rails Asset Pipeline.
Installation
Add this line to your application's Gemfile:
gem 'purecss-will_paginate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install purecss-will_paginate
Usage
Just like you would in the regular will_paginate. If you've got a need to use the default will_paginate stylings, pass an option like so:
<%= will_paginate(@things, :renderer => WillPaginate::ActionView::LinkRenderer) %>
Based on bootstrap-will_paginate.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Changelog
- 0.0.3 Travis support, Rakefile corrected
- 0.0.2 Fixed dependencies
- 0.0.1 First version