demarches-normaliennes/app/views/administrateurs/kaminari/_page.html.haml
2022-10-31 16:12:02 +01:00

3 lines
300 B
Text

%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'