Browse files

changing view to produce HTML5 nav instead of div

  • Loading branch information...
1 parent c45c757 commit add96b8282312debf50f10e0cc9189a7c7b8d77c @konung committed Mar 7, 2012
Showing with 5 additions and 2 deletions.
  1. +4 −1
  2. +1 −1 app/views/kaminari/_paginator.html.haml
@@ -1,6 +1,9 @@
-This is a conversion of work done by [gabetax]( - I simply converted everything to haml.
+# HAML Version
+Original work done by [gabetax]( - I simply converted everything to haml.
I'm using it in a project with kaminari 0.13.0 and bootstrap 2 without any problem.
# Kaminari 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.
@@ -8,7 +8,7 @@
paginator: the paginator that renders the pagination tags inside
= paginator.render do
- .pagination
+ %nav.pagination
= first_page_tag unless current_page.first?
= prev_page_tag unless current_page.first?

0 comments on commit add96b8

Please sign in to comment.