demarches-normaliennes/app/views/shared/kaminari/_page.html.haml

4 lines
300 B
Text
Raw Normal View History

2022-10-27 09:22:20 +02:00
%li
= link_to_unless page.current?, page, url, rel: page.rel, remote: remote, class: 'fr-pagination__link', 'aria-current': page.current? ? 'page' : nil, title: "Page #{page}", role: 'link' do
= content_tag 'a', page, 'aria-current': 'page', title: "Page #{page}", class: 'fr-pagination__link'