X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f9811827317220eac86a16d7d9a2f67205d35ff1..1c1bfd7488442ac2b05e0b12140f2d0d8852cfc0:/app/views/browse/note.html.erb?ds=inline diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 1a792e873..6dcd46e76 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -51,7 +51,7 @@
-
+
<% if current_user.moderator? -%> " class="btn btn-light" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, "json") %>"> <% end -%> @@ -63,7 +63,7 @@ <% else %>
-
+
<% if current_user and current_user.moderator? -%> " class="btn btn-light" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, "json") %>"> <% end -%>