% content_for :head do %>
<%= javascript_include_tag "user" %>
<% end %>
<% content_for :heading do %>
<%= t 'user.account.my settings' %>
- <%= link_to t('user.account.return to profile'), user_path(current_user) %>
- <%= link_to t('user.view.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('user.account.save changes button') %>
<% end %>
<% unless current_user.data_public? %>
<%= t 'user.account.public editing note.heading' %>
<%= raw t 'user.account.public editing note.text' %>
<%= button_to t('user.account.make edits public button'), :action => :go_public %>
<% end %>