% content_for :head do %>
<%= javascript_include_tag "user" %>
<% end %>
<% content_for :heading do %>
<%= t ".my settings" %>
- <%= link_to t(".return to profile"), user_path(current_user) %>
- <%= 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 %>
<%= 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 => "email" %>
<%= f.password_field :pass_crypt, :value => "", :autocomplete => "new-password" %>
<%= f.password_field :pass_crypt_confirmation, :value => "", :autocomplete => "new-password" %>
<%= f.primary t(".save changes button") %>
<% end %>
<% unless current_user.data_public? %>
<%= t ".public editing note.heading" %>
<%= t ".public editing note.html" %>
<%= button_to t(".make edits public button"), :action => :go_public %>
<% end %>