-<div class="row">
- <div class="col">
- <h4><%= heading %></h4>
- </div>
+<div class="d-flex flex-wrap gap-2">
+ <h4 class="fs-5 mb-0"><%= heading %></h4>
<% if pages.page_count > 1 %>
- <div class="col-auto">
- <h4>
- <span class="paginate p-1">
- <%= raw pagination_links_each(pages, {}) { |n| link_to(n, page_param => n) } %>
- </span>
- </h4>
- </div>
+ <%= sidebar_classic_pagination(pages, page_param) %>
<% end %>
</div>