]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/show.html.erb
Merge remote-tracking branch 'upstream/pull/4662'
[rails.git] / app / views / notes / show.html.erb
index 3a1224676e47b7e5afb0c8deba255b48a32a65a1..a7baccf856dec921056d6c40fd8da7a8c75ff685 100644 (file)
@@ -75,6 +75,8 @@
   <% else %>
     <form class="mb-3" action="#">
       <input type="hidden" name="text" value="" autocomplete="off">
+      <div id="comment-error" class="alert alert-danger p-2 mb-3" hidden>
+      </div>
       <div class="btn-wrapper">
         <% if @note.status != "hidden" and current_user and current_user.moderator? -%>
           <input type="submit" name="hide" value="<%= t(".hide") %>" class="btn btn-light" data-method="DELETE" data-url="<%= api_note_url(@note, "json") %>">