X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0bbdadd727a37ee71d4a8c89b50ce2060d6a6240..f1935b1c5786de8f27bee9b6b2da2f28f650468f:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index dac0ff5b5..ac6938af7 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -165,6 +165,12 @@
<%= @user.description.to_html %>
+ <% if current_user and @user.id == current_user.id %> +
+ <%= link_to t(".edit_profile"), edit_profile_path, :class => "btn btn-outline-primary" %> +
+ <% end %> + <% if current_user and current_user.administrator? -%>