2 <% link_class = "page-link icon-link text-center text-nowrap" %>
3 <ul class="pagination">
4 <% previous_link_content = capture do %>
5 <%= previous_page_svg_tag :class => "flex-shrink-0" %>
10 <%= link_to previous_link_content, @params.merge(:page => @page - 1), :class => link_class %>
13 <li class="page-item disabled">
14 <%= tag.span previous_link_content, :class => link_class %>
18 <li class="page-item active">
19 <%= tag.span t(".showing_page", :page => @page), :class => link_class %>
22 <% next_link_content = capture do %>
24 <%= next_page_svg_tag :class => "flex-shrink-0" %>
26 <% if @notes.size < @page_size %>
27 <li class="page-item disabled">
28 <%= tag.span next_link_content, :class => link_class %>
31 <li class="page-item">
32 <%= link_to next_link_content, @params.merge(:page => @page + 1), :class => link_class %>