X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e6dbf56d43de52513a9e80367d8c2eb4e7bc21a1..0e78061cdba5cfb3f299f57b7643d2b396ee235b:/app/views/browse/note.html.erb 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 -%>