You can copy kaminari’s views into your app/views and edit _paginator partial.
For example, change this:
== paginator.render do
nav.pagination
= first_page_tag unless current_page.first?
- each_page do |page|
- if page.left_outer? || page.right_outer? || page.inside_window?
== page_tag page
- elsif !page.was_truncated?
== gap_tag
= last_page_tag unless current_page.last?
to that:
== paginator.render do
nav.pagination
= prev_page_tag unless current_page.first?
= next_page_tag unless current_page.last?
1
solved What are the best option for a pager when building on Rails? [closed]