X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7d959e5886d8bf3003e798b375bf5b4e644d18c..88f156a41a5c9ae45d404747819b446861db7a8c:/app/views/users/account.html.erb
diff --git a/app/views/users/account.html.erb b/app/views/users/account.html.erb
index 4562033a2..f647cc84f 100644
--- a/app/views/users/account.html.erb
+++ b/app/views/users/account.html.erb
@@ -4,24 +4,22 @@
<% content_for :heading do %>
<%= 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" %>
-
<% end %>
+<%= render :partial => "settings_menu", :locals => { :selected => "account" } %>
+
<%= bootstrap_form_for current_user, :url => { :action => :account }, :method => :post, :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 => :off %>
- <%= f.password_field :pass_crypt, :value => "", :autocomplete => :off %>
- <%= f.password_field :pass_crypt_confirmation, :value => "", :autocomplete => :off %>
+ <%= 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" %>