<%=_('My account')%>

<%=_('Login')%>: <%= @user.login %>
<%=_('Created on')%>: <%= format_time(@user.created_on) %>, <%=_('Last update')%>: <%= format_time(@user.updated_on) %>

<%= error_messages_for 'user' %>

<%=_('Information')%>

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


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


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


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


<%= select("user", "language", Localization.langs) %>

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

<%= submit_tag _('Save') %>
<%= end_form_tag %>

<%=_('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 _('Save') %>
<%= end_form_tag %>