<%=l(:field_login)%>: <%= @user.login %>
<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>
<% if @user.rss_token %>
<%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
(<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>)
<% end %>
<%= f.text_field :firstname, :required => true %>
<%= f.text_field :lastname, :required => true %>
<%= f.text_field :mail, :required => true, :size => 40 %>
<%= f.select :language, lang_options_for_select %>
<%= f.check_box :mail_notification %>
<% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %><%= pref_fields.check_box :hide_mail %>
<% end %><%= password_field_tag 'password', nil, :size => 25 %>
<%= password_field_tag 'new_password', nil, :size => 25 %>
<%= l(:text_length_between, 4, 12) %>
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>