X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/721d33033cbd729ab9e2d0220ead22fb3f7f1065..cdcf15e7b1a37bda5aef6266e2c0825a81783a38:/app/views/accounts/edit.html.erb diff --git a/app/views/accounts/edit.html.erb b/app/views/accounts/edit.html.erb index e783367dd..e31c5e90d 100644 --- a/app/views/accounts/edit.html.erb +++ b/app/views/accounts/edit.html.erb @@ -19,15 +19,19 @@
- <%= f.select(:auth_provider, Auth.providers, :hide_label => true, :wrapper => { :class => "col-auto mb-0" }) %> + <%= f.select :auth_provider, + Auth.providers.map { |provider| [I18n.t("auth.providers.#{provider}"), provider] }, + :include_blank => t("auth.providers.none"), + :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 +44,7 @@
- + <% if current_user.terms_agreed? %> <%= t ".contributor terms.agreed" %> (" target="_new"><%= t ".contributor terms.link text" %>) @@ -54,11 +58,11 @@
-
-
+
+
<%= f.primary t(".save changes button") %>
-
+
<%= link_to t(".delete_account"), account_deletion_path, :class => "btn btn-outline-danger" %>