X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..0b7435ab32b3271ae000894f6798cc087b3c058c:/app/views/accounts/edit.html.erb?ds=inline diff --git a/app/views/accounts/edit.html.erb b/app/views/accounts/edit.html.erb index 7aad944d3..f15bc195c 100644 --- a/app/views/accounts/edit.html.erb +++ b/app/views/accounts/edit.html.erb @@ -22,12 +22,12 @@ <%= 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" }) %> - (" target="_new"><%= t ".openid.link text" %>) + (" target="_new"><%= t ".openid.link text" %>)
- + <% if current_user.data_public? %> <%= t ".public editing.enabled" %> (" target="_new"><%= t ".public editing.enabled link text" %>) @@ -40,7 +40,7 @@
- + <% if current_user.terms_agreed? %> <%= t ".contributor terms.agreed" %> (" target="_new"><%= t ".contributor terms.link text" %>) @@ -54,19 +54,16 @@
-
-
+
+
<%= 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, :class => "btn btn-primary" %> + <%= render :partial => "go_public" %> <% end %>