2006-07-29 13:32:58 +04:00
|
|
|
<h2><%=l(:label_register)%></h2>
|
|
|
|
|
|
|
|
<%= start_form_tag %>
|
|
|
|
<%= error_messages_for 'user' %>
|
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
<!--[form:user]-->
|
|
|
|
<p><label for="user_login"><%=l(:field_login)%></label> <span class="required">*</span><br/>
|
|
|
|
<%= text_field 'user', 'login', :size => 25 %></p>
|
|
|
|
|
|
|
|
<p><label for="password"><%=l(:field_password)%></label> <span class="required">*</span><br/>
|
|
|
|
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
|
|
|
|
|
|
|
<p><label for="password_confirmation"><%=l(:field_password_confirmation)%></label> <span class="required">*</span><br/>
|
|
|
|
<%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
|
|
|
|
|
|
|
|
<p><label for="user_firstname"><%=l(:field_firstname)%></label> <span class="required">*</span><br/>
|
|
|
|
<%= text_field 'user', 'firstname' %></p>
|
|
|
|
|
|
|
|
<p><label for="user_lastname"><%=l(:field_lastname)%></label> <span class="required">*</span><br/>
|
|
|
|
<%= text_field 'user', 'lastname' %></p>
|
|
|
|
|
|
|
|
<p><label for="user_mail"><%=l(:field_mail)%></label> <span class="required">*</span><br/>
|
|
|
|
<%= text_field 'user', 'mail' %></p>
|
|
|
|
|
|
|
|
<p><label for="user_language"><%=l(:field_language)%></label><br/>
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= select("user", "language", lang_options_for_select) %></p>
|
2006-07-29 13:32:58 +04:00
|
|
|
|
2006-07-31 23:52:08 +04:00
|
|
|
<% for @custom_value in @custom_values %>
|
|
|
|
<p><%= custom_field_tag_with_label @custom_value %></p>
|
2006-07-29 13:32:58 +04:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<p><%= check_box 'user', 'mail_notification' %> <label for="user_mail_notification"><%=l(:field_mail_notification)%></label></p>
|
|
|
|
<!--[eoform:user]-->
|
|
|
|
</div>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= submit_tag l(:button_submit) %>
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= end_form_tag %>
|