1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Haml version of templates

This commit is contained in:
Akira Matsuda 2011-02-07 11:31:58 +09:00
parent 2f48658a8f
commit ae8df1a6d1
10 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,2 @@
%span.page.current
= page

View file

@ -0,0 +1,2 @@
%span.page.first
= link_to page, page_url

View file

@ -0,0 +1,2 @@
%span.page.last
= link_to page, page_url

View file

@ -0,0 +1,2 @@
%span.next
= link_to_if (current_page < num_pages), raw('Next &raquo;'), next_url, :class => 'next', :rel => 'next'

View file

@ -0,0 +1 @@
%span.next

View file

@ -0,0 +1,2 @@
%span.page
= link_to page, page_url

View file

@ -0,0 +1,2 @@
.pagination
= content_for :kaminari_paginator_tags

View file

@ -0,0 +1,2 @@
%span.prev
= link_to_if (current_page > 1), raw('&laquo; Prev'), prev_url, :class => 'prev', :rel => 'prev'

View file

@ -0,0 +1 @@
%span.prev

View file

@ -0,0 +1,2 @@
%span.page
\...