beast rev 2066
[beast-modified.git] / app / views / users / _settings.html.erb
blob74b3f73fd6d38e9cebe9e446f051c1e06b4b306b
2 <h3><%= 'Basics'[:basics_title] %></h3>
5 <% if not @user.valid? and @user.errors.on(:login) %>
7 <p>
8   <label for="login"><%= 'Login'[:login_title] %></label></p>
9   <p class="help">
10     <strong><%= 'Please change your login'[:change_login] %>.</strong>
11     <%= 'Logins should start with least 2 characters and may consist of letters, numbers, or the underscore'[:login_field] %>.
12   </p>
13 <p>
14   <%= settings.text_field :login %>
15 </p>
16 <% end %>
18 <p>
19   <label for="user_email"><%= 'Email'[:email_title] %></label><br />
20   <%= settings.text_field :email %>
21 </p>
23 <div>
24   <label for="user_password"><%= 'Password'[:password_title] %></label><br />
25   <p class="entryhelp" style="margin-top:0.5em;"><%= 'Enter a new password twice to change your password. (must be longer than 5 characters)'[:password_field] %></p>
26   <%= settings.password_field :password, :size => 16 %>
27   <span class="entryhelp">(<%= 'once'[] %>)</span><br />
28   <%= settings.password_field :password_confirmation, :size => 16 %>
29   <span class="entryhelp">(<%= 'and again'[] %>)</span>
30 </div>