[openstreetmap/openstreetmap-website] Use more Rails' form tag helpers in directions form (PR #6212)

Marwin Hochfelsner notifications at github.com
Sun Jul 20 13:19:12 UTC 2025


### Description
Using a few more form tag helpers makes the search layout quite a bit more readable.
Less repetition and better integration of the inline_svg tags following #5938.
### How has this been tested?
Local installation.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use more Rails' form tag helpers in directions form

-- File Changes --

    M app/assets/javascripts/index/directions.js (8)
    M app/views/layouts/_search.html.erb (40)
    M test/system/directions_test.rb (2)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/6212 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250720/3965b2a5/attachment.htm>


More information about the rails-dev mailing list