[openstreetmap/openstreetmap-website] Clean view markup further (PR #6783)
Marwin Hochfelsner
notifications at github.com
Sun Feb 8 14:47:50 UTC 2026
@hlfan commented on this pull request.
> @@ -24,7 +24,7 @@
} %>
<% types.filter { |type| markers[type] }.each do |type| %>
- <path id="<%= type %>-path" <%= tag.attributes(markers[type]) %> />
+ <%= tag.path :id => "#{type}-path", :attributes => markers[type] %>
You can if this looks good to you too:
```suggestion
<%= tag.path :id => "#{type}-path", **markers[type] %>
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6783#discussion_r2779357533
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6783/review/3769836693 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260208/4c70a31f/attachment.htm>
More information about the rails-dev
mailing list