X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/532dd10b18fd66e239aadc8a72170d05fa8cba93..HEAD:/app/views/accounts/edit.html.erb diff --git a/app/views/accounts/edit.html.erb b/app/views/accounts/edit.html.erb deleted file mode 100644 index dc649cbf4..000000000 --- a/app/views/accounts/edit.html.erb +++ /dev/null @@ -1,69 +0,0 @@ -<% content_for :head do %> - <%= javascript_include_tag "user" %> -<% end %> - -<% content_for :heading do %> -

<%= t ".my settings" %>

-<% end %> - -<%= render :partial => "settings_menu" %> - -<%= bootstrap_form_for current_user, :url => { :action => :update }, :html => { :multipart => true, :id => "accountForm", :autocomplete => :off } do |f| %> - - <%= f.text_field :display_name %> - <%= f.email_field :email, :disabled => true, :label => t(".current email address") %> - <%= f.email_field :new_email, :autocomplete => "email" %> - <%= f.password_field :pass_crypt, :value => "", :autocomplete => "new-password" %> - <%= 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" }) %> -
- (" target="_new"><%= t ".openid.link text" %>) -
- -
- - - <% if current_user.data_public? %> - <%= t ".public editing.enabled" %> - (" target="_new"><%= t ".public editing.enabled link text" %>) - <% else %> - <%= t ".public editing.disabled" %> - (<%= t ".public editing.disabled link text" %>) - <% end %> - -
- -
- - - <% if current_user.terms_agreed? %> - <%= t ".contributor terms.agreed" %> - (" target="_new"><%= t ".contributor terms.link text" %>) - <% if current_user.consider_pd? %> - <%= t ".contributor terms.agreed_with_pd" %> - <% end %> - <% else %> - <%= t ".contributor terms.not yet agreed" %> - <%= link_to t(".contributor terms.review link text"), :controller => "users", :action => "terms" %> - <% end %> - -
- -
-
- <%= 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? %> - <%= render :partial => "go_public" %> -<% end %>