2 <% link_class = "page-link icon-link text-center" %>
3 <ul class="pagination">
4 <% newer_link_content = capture do %>
5 <%= previous_page_svg_tag :class => "flex-shrink-0 d-none d-sm-block" %>
6 <%= t :newer, :scope => translation_scope %>
9 <li class="page-item d-flex">
10 <%= link_to newer_link_content, @params.merge(:before => nil, :after => newer_id), :class => link_class, :data => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" } %>
13 <li class="page-item d-flex disabled">
14 <%= tag.span newer_link_content, :class => link_class %>
18 <% older_link_content = capture do %>
19 <%= t :older, :scope => translation_scope %>
20 <%= next_page_svg_tag :class => "flex-shrink-0 d-none d-sm-block" %>
23 <li class="page-item d-flex">
24 <%= link_to older_link_content, @params.merge(:before => older_id, :after => nil), :class => link_class, :data => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" } %>
27 <li class="page-item d-flex disabled">
28 <%= tag.span older_link_content, :class => link_class %>