X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/81c58571c5b9170e8b82ab0ef78aa8970da0e676..0c524b240858303b40078608dd76a1b2b6023b47:/app/views/accounts/edit.html.erb diff --git a/app/views/accounts/edit.html.erb b/app/views/accounts/edit.html.erb index 0dcab17b0..2017bee0a 100644 --- a/app/views/accounts/edit.html.erb +++ b/app/views/accounts/edit.html.erb @@ -54,12 +54,19 @@ - <%= f.primary t(".save changes button") %> +
+
+ <%= f.primary t(".save changes button") %> +
+
+ <%= link_to t(".delete_account"), account_deletion_path, :class => "btn btn-outline-danger" %> +
+
<% end %> <% unless current_user.data_public? %>

<%= t ".public editing note.heading" %>

<%= t ".public editing note.html" %> - <%= button_to t(".make edits public button"), user_go_public_path %> +<%= button_to t(".make edits public button"), user_go_public_path, :class => "btn btn-primary" %> <% end %>