demarches-normaliennes/app/views/release_notes/_page.html.haml

6 lines
358 B
Text
Raw Normal View History

= render partial: 'announce', collection: announces.group_by(&:released_on).values, as: :notes
- if !paginated_groups.last_page?
= turbo_frame_tag "announces-page-#{paginated_groups.next_page}", loading: :lazy, src: next_page_path(paginated_groups) do
= link_to t('.previous_page'), next_page_path(paginated_groups), class: "fr-btn fr-btn--secondary"