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

Merge pull request #298 from sasata299/modify_template_format

Align kaminari views format
This commit is contained in:
Akira Matsuda 2012-10-19 10:38:18 -07:00
commit 07cd48d293
3 changed files with 3 additions and 3 deletions

View file

@ -7,5 +7,5 @@
remote: data-remote
-%>
<span class="last">
<%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {:remote => remote} %>
<%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote %>
</span>

View file

@ -6,4 +6,4 @@
-# per_page: number of items to fetch per page
-# remote: data-remote
%span.last
= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {:remote => remote}
= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote

View file

@ -6,5 +6,5 @@
per_page : number of items to fetch per page
remote : data-remote
span.last
== link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {:remote => remote}
== link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote
'