% content_for :head do %>
<%= javascript_include_tag "user" %>
<% end %>
<% content_for :heading do %>
<%= t ".my settings" %>
<% 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 => "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 %>