<%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %> <%= call_hook(:view_my_account_contextual, :user => @user)%>

<%= l(:label_my_account)%>

<%= labelled_form_for :user, @user, :url => { :action => "account" }, :html => { :id => 'my_account_form', :method => :post } do |f| %>
<%= submit_tag l(:button_save) %>
<% end %> <%= error_messages_for 'user' %> <% html_title(l(:label_my_account)) -%>