]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/_paging_nav.html.erb
Move changeset show action to changesets controller
[rails.git] / app / views / changesets / _paging_nav.html.erb
diff --git a/app/views/changesets/_paging_nav.html.erb b/app/views/changesets/_paging_nav.html.erb
new file mode 100644 (file)
index 0000000..aa7ee23
--- /dev/null
@@ -0,0 +1,6 @@
+<div class="d-flex flex-wrap gap-2">
+  <h4 class="fs-5 mb-0"><%= type_and_paginated_count(type, pages) %></h4>
+  <% if pages.page_count > 1 %>
+    <%= sidebar_classic_pagination(pages, "#{type}_page") %>
+  <% end %>
+</div>