X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a570f59187efa0a298d31bae2b224de9762bb42f..fa7d64b788c614a14b7752fd2d660dd54b26e3c6:/app/views/users/account.html.erb
diff --git a/app/views/users/account.html.erb b/app/views/users/account.html.erb
index 4021e5c08..26d840210 100644
--- a/app/views/users/account.html.erb
+++ b/app/views/users/account.html.erb
@@ -6,170 +6,59 @@
<%= t ".my settings" %>
- <%= link_to t(".return to profile"), user_path(current_user) %>
- - <%= link_to t("users.show.oauth settings"), :controller => "oauth_clients", :action => "index" %>
+ - <%= link_to t(".oauth1 settings"), oauth_clients_path %>
+ - <%= link_to t(".oauth2 applications"), oauth_applications_path %>
+ - <%= link_to t(".oauth2 authorizations"), oauth_authorized_applications_path %>
<% end %>
-<%= error_messages_for current_user %>
-<%= form_for current_user, :url => { :action => :account }, :method => :post, :html => { :multipart => true, :id => "accountForm", :class => "standard-form", :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" %>
-