]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_paging_nav.html.erb
Remove border css class used by previous version of paginator
[rails.git] / app / views / browse / _paging_nav.html.erb
index 67f1c75a3bc3a21303c9e184e45de389fab1a956..1f4cbee85e8a8af148b08a720c272db7e34481c6 100644 (file)
@@ -1,5 +1,8 @@
-<% if pages.page_count > 1 %>
-  <span class="paginate">
-    <%= raw pagination_links_each(pages, {}) { |n| link_to(n, page_param => n) } %>
-  </span>
-<% end %>
+<div class="d-flex flex-wrap gap-2">
+  <h4 class="fs-5 mb-0"><%= heading %></h4>
+  <% if pages.page_count > 1 %>
+    <div class="ms-auto">
+      <%= raw pagination_links_bootstrap(pages, {}) { |n| url_for(page_param => n) } %>
+    </div>
+  <% end %>
+</div>