Basics

<% if not @user.valid? and @user.errors.on(:login) %>

Please change your login. Logins should start with least 2 characters and may consist of letters, numbers, or the underscore.

<%= settings.text_field :login %>

<% end %>


<%= settings.text_field :email %>


Enter a new password twice to change your password. (must be longer than 5 characters)

<%= settings.password_field :password, :size => 16 %> (once)
<%= settings.password_field :password_confirmation, :size => 16 %> (and again)