[openstreetmap/openstreetmap-website] Display error message if note creation fails (PR #7132)

Pablo Brasero notifications at github.com
Tue Jun 9 10:08:57 UTC 2026


@pablobm commented on this pull request.



> @@ -24,6 +24,12 @@
     <div class="mb-3">
       <%= text_area_tag "text", "", :class => "form-control", :size => "40x10", :maxlength => "2000", :placeholder => t(".advice") %>
     </div>
+    <div class="new-note-error alert alert-danger d-none">
+      <details>
+        <summary><%= t(".error") %></summary>
+        <p class="new-note-error__detail"></p>

Old habit. Changed to use a style more in line with the project.

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

Message ID: <openstreetmap/openstreetmap-website/pull/7132/review/4457573695 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260609/e904a2a6/attachment.htm>


More information about the rails-dev mailing list