<%=l(:label_my_account)%>

<%=l(:field_login)%>: <%= @user.login %>
<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>, <%=l(:field_updated_on)%>: <%= format_time(@user.updated_on) %>

<%= error_messages_for 'user' %>

<%=l(:label_information_plural)%>

<%= start_form_tag :action => 'my_account' %>


<%= text_field 'user', 'firstname' %>


<%= text_field 'user', 'lastname' %>


<%= text_field 'user', 'mail', :size => 40 %>


<%= select("user", "language", lang_options_for_select) %>

<%= check_box 'user', 'mail_notification' %>

<%= submit_tag l(:button_save) %>
<%= end_form_tag %>
<% unless @user.auth_source_id %>

<%=l(:field_password)%>

<%= start_form_tag :action => 'change_password' %>


<%= password_field_tag 'password', nil, :size => 25 %>


<%= password_field_tag 'new_password', nil, :size => 25 %>


<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>

<%= submit_tag l(:button_save) %>
<%= end_form_tag %>
<% end %>