[openstreetmap/openstreetmap-website] Deduplicate note adding instructions (PR #5870)
Anton Khorev
notifications at github.com
Fri Apr 4 05:00:28 UTC 2025
@AntonKhorev commented on this pull request.
> @@ -86,8 +86,6 @@
</div>
<div class='alert alert-primary'>
- <h2><%= t ".add_a_note.title" %></h2>
- <p><%= t ".add_a_note.para_1" %></p>
- <p><%= t ".add_a_note.para_2_html", :map_link => link_to(t(".add_a_note.the_map"), root_path),
- :note_icon => tag.span(:class => "icon note bg-dark rounded-1") %></p>
+ <h2><%= t "site.add_a_note.title" %></h2>
+ <% render "add_a_note" %>
```suggestion
<%= render "add_a_note" %>
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5870#pullrequestreview-2741777046
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5870/review/2741777046 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250403/1466806d/attachment.htm>
More information about the rails-dev
mailing list