2006-06-28 22:11:03 +04:00
|
|
|
<%= error_messages_for 'user' %>
|
|
|
|
|
|
|
|
<!--[form:user]-->
|
|
|
|
<p><label for="user_login"><%=_('Login')%></label><br/>
|
2006-07-09 20:30:01 +04:00
|
|
|
<%= text_field 'user', 'login', :size => 25 %></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-07-09 20:30:01 +04:00
|
|
|
<p><label for="password"><%=_('Password')%></label><br/>
|
|
|
|
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
|
|
|
|
|
|
|
<p><label for="password_confirmation"><%=_('Confirmation')%></label><br/>
|
|
|
|
<%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
|
|
|
<p><label for="user_firstname"><%=_('Firstname')%></label><br/>
|
|
|
|
<%= text_field 'user', 'firstname' %></p>
|
|
|
|
|
|
|
|
<p><label for="user_lastname"><%=_('Lastname')%></label><br/>
|
|
|
|
<%= text_field 'user', 'lastname' %></p>
|
|
|
|
|
|
|
|
<p><label for="user_mail"><%=_('Mail')%></label><br/>
|
|
|
|
<%= text_field 'user', 'mail' %></p>
|
|
|
|
|
|
|
|
<p><label for="user_language"><%=_('Language')%></label><br/>
|
|
|
|
<%= select("user", "language", Localization.langs) %></p>
|
|
|
|
|
|
|
|
<p><%= check_box 'user', 'admin' %> <label for="user_admin"><%=_('Administrator')%></label></p>
|
|
|
|
|
|
|
|
<p><%= check_box 'user', 'mail_notification' %> <label for="user_mail_notification"><%=_('Mail notifications')%></label></p>
|
|
|
|
|
|
|
|
<p><%= check_box 'user', 'locked' %> <label for="user_locked"><%=_('Locked')%></label></p>
|
|
|
|
<!--[eoform:user]-->
|
|
|
|
|