[openstreetmap/openstreetmap-website] Use turbo for pagination (PR #4646)
Tom Hughes
notifications at github.com
Tue Aug 20 07:47:28 UTC 2024
@tomhughes commented on this pull request.
> + :older_key => "traces.page.older",
+ :newer_id => @newer_traces_id,
+ :older_id => @older_traces_id %>
+
+ <table id="trace_list" class="table table-borderless table-striped">
+ <tbody>
+ <%= render @traces %>
+ </tbody>
+ </table>
+
+ <%= render "shared/pagination",
+ :newer_key => "traces.page.newer",
+ :older_key => "traces.page.older",
+ :newer_id => @newer_traces_id,
+ :older_id => @older_traces_id %>
+</turbo-frame id="pagination">
Thanks for spotting that - it should be fixed now.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4646#discussion_r1722847797
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4646/review/2247221221 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240820/3500e4cd/attachment.htm>
More information about the rails-dev
mailing list