[openstreetmap/openstreetmap-website] Write closed note controls using submit_tag (PR #4867)

Anton Khorev notifications at github.com
Sat Jun 1 06:10:07 UTC 2024


https://github.com/openstreetmap/openstreetmap-website/commit/c276625e7f35a1f9c31fe95325e150879f0b9a73 replaced html + interpolated attributes with `submit_tag`, but only for open note buttons. This PR does the same for closed note buttons.

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/98054cf3-e94e-4507-9932-050f3b555012)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4867

-- Commit Summary --

  * Write closed note controls using submit_tag

-- File Changes --

    M app/views/notes/show.html.erb (8)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4867.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4867.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4867
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4867 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240531/742d3600/attachment.htm>


More information about the rails-dev mailing list