No commit activity in last 3 years
No release in over 3 years
Use Kaminari with Twitter Bootstrap :)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.0.0
>= 1.8.3
>= 3.12
>= 2.8.0
>= 0.5

Runtime

>= 0
 Project Readme

Kaminari ERB and HAML views for Twitter Bootstrap

twitter bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites, including styles for pagination.

If you're using kaminari as your pagination library, the markup in its default views won't match the selectors used by bootstrap. This repository contains modified copies of kaminari's views that you can drop in to your ruby application to work with bootstrap.

Installation

in Gemfile

gem 'twitter_bootstrap-kaminari-views'

then bundle it!

Adds optional data option to paginate, that will be passed to all page-links.

= paginate @users, remote: true, data: {replace_element: '#admin_main'}

Credits

Current HAML version taken from this [repo](from https://github.com/hampei/twitter-bootstrap-kaminari-haml)