X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a8e8ba1a64d4f82c74003b5fc05c6fc89a10cc65..e80d74ae7369fc1293e5195f29c4f6e8a9dcb87b:/app/views/accounts/edit.html.erb diff --git a/app/views/accounts/edit.html.erb b/app/views/accounts/edit.html.erb index ba809d16a..038f5c09f 100644 --- a/app/views/accounts/edit.html.erb +++ b/app/views/accounts/edit.html.erb @@ -17,8 +17,8 @@ <%= f.password_field :pass_crypt_confirmation, :value => "", :autocomplete => "new-password" %>
- -
+ +
<%= f.select(:auth_provider, Auth.providers, :hide_label => true, :wrapper => { :class => "col-auto mb-0" }) %> <%= f.text_field(:auth_uid, :hide_label => true, :wrapper => { :class => "col mb-0" }) %>
@@ -26,7 +26,7 @@
- + <% if current_user.data_public? %> <%= t ".public editing.enabled" %> @@ -39,7 +39,7 @@
- + <% if current_user.terms_agreed? %> <%= t ".contributor terms.agreed" %> @@ -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"), :action => :go_public %> +<%= button_to t(".make edits public button"), user_go_public_path, :class => "btn btn-primary" %> <% end %>