2006-06-28 22:11:03 +04:00
|
|
|
<%= error_messages_for 'user' %>
|
|
|
|
|
2006-07-29 13:32:58 +04:00
|
|
|
<div class="box">
|
2006-06-28 22:11:03 +04:00
|
|
|
<!--[form:user]-->
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><label for="user_login"><%=l(:field_login)%></label> <span class="required">*</span><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-29 23:54:22 +04:00
|
|
|
<p><label for="password"><%=l(:field_password)%></label> <span class="required">*</span><br/>
|
2006-07-09 20:30:01 +04:00
|
|
|
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><label for="password_confirmation"><%=l(:field_password_confirmation)%></label> <span class="required">*</span><br/>
|
2006-07-09 20:30:01 +04:00
|
|
|
<%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><label for="user_firstname"><%=l(:field_firstname)%></label> <span class="required">*</span><br/>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= text_field 'user', 'firstname' %></p>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><label for="user_lastname"><%=l(:field_lastname)%></label> <span class="required">*</span><br/>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= text_field 'user', 'lastname' %></p>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><label for="user_mail"><%=l(:field_mail)%></label> <span class="required">*</span><br/>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= text_field 'user', 'mail' %></p>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><label for="user_language"><%=l(:field_language)%></label><br/>
|
|
|
|
<%= select("user", "language", lang_options_for_select) %></p>
|
2006-07-29 13:32:58 +04:00
|
|
|
|
|
|
|
<% for custom_value in @custom_values %>
|
|
|
|
<p><%= custom_field_tag_with_label custom_value %></p>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div style="clear: both;"></div>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><%= check_box 'user', 'admin' %> <label for="user_admin"><%=l(:field_admin)%></label></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><%= check_box 'user', 'mail_notification' %> <label for="user_mail_notification"><%=l(:field_mail_notification)%></label></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
|
|
|
<!--[eoform:user]-->
|
2006-07-29 13:32:58 +04:00
|
|
|
</div>
|