Fix pagination first and last page buttons
This commit is contained in:
parent
bb3d3e5426
commit
d43df58757
|
@ -6,4 +6,4 @@
|
||||||
-# per_page: number of items to fetch per page
|
-# per_page: number of items to fetch per page
|
||||||
-# remote: data-remote
|
-# remote: data-remote
|
||||||
%li.first.page-item
|
%li.first.page-item
|
||||||
= link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, remote: remote
|
= link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, remote: remote, class: 'page-link'
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
-# per_page: number of items to fetch per page
|
-# per_page: number of items to fetch per page
|
||||||
-# remote: data-remote
|
-# remote: data-remote
|
||||||
%li.last.page-item
|
%li.last.page-item
|
||||||
= 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, class: 'page-link'}
|
||||||
|
|
Loading…
Reference in New Issue