% 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('users.show.oauth settings'), :controller => 'oauth_clients', :action => 'index' %>
<% 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| %>
<%= submit_tag t('.save changes button') %>
<% end %>
<% unless current_user.data_public? %>
<%= t '.public editing note.heading' %>
<%= raw t '.public editing note.text' %>
<%= button_to t('.make edits public button'), :action => :go_public %>
<% end %>