X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5c3f549492d5ef9b6eed6ebb7a8e32a19103b616..627f2493faa77336e7dcb13abb92dc547ee4db9f:/app/views/traces/show.html.erb?ds=sidebyside diff --git a/app/views/traces/show.html.erb b/app/views/traces/show.html.erb index f7517c802..fe1d670c3 100644 --- a/app/views/traces/show.html.erb +++ b/app/views/traces/show.html.erb @@ -55,7 +55,7 @@

<% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?) %> -
+
<% if current_user == @trace.user %> <%= link_to t(".edit_trace"), edit_trace_path(@trace), :class => "button" %> <% end %>