]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_paging_nav.html.erb
Add Bootstrap styling to changeset node/way/relation page links
[rails.git] / app / views / browse / _paging_nav.html.erb
index e13b1a9b85e84abe2e3efcf27e2ad9dfd93a4e26..02a7aa2c8e31c58f111d797152ccdb32ce55c21f 100644 (file)
@@ -4,11 +4,7 @@
   </div>
   <% if pages.page_count > 1 %>
     <div class="col-auto">
-      <h4>
-        <span class="border border-lightgrey rounded p-1">
-          <%= raw pagination_links_each(pages, {}) { |n| link_to(n, page_param => n) } %>
-        </span>
-      </h4>
+      <%= raw pagination_links_bootstrap(pages, {}) { |n| url_for(page_param => n) } %>
     </div>
   <% end %>
 </div>