@@ -1,44 +1,44 | |||
|
1 | 1 | <h2><%=l(:label_register)%> <%=link_to l(:label_login_with_open_id_option), signin_url if Setting.openid? %></h2> |
|
2 | 2 | |
|
3 | 3 | <% form_tag({:action => 'register'}, :class => "tabular") do %> |
|
4 | 4 | <%= error_messages_for 'user' %> |
|
5 | 5 | |
|
6 | 6 | <div class="box"> |
|
7 | 7 | <!--[form:user]--> |
|
8 | 8 | <% if @user.auth_source_id.nil? %> |
|
9 | 9 | <p><label for="user_login"><%=l(:field_login)%> <span class="required">*</span></label> |
|
10 | 10 | <%= text_field 'user', 'login', :size => 25 %></p> |
|
11 | 11 | |
|
12 | 12 | <p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label> |
|
13 | 13 | <%= password_field_tag 'password', nil, :size => 25 %><br /> |
|
14 | 14 | <em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p> |
|
15 | 15 | |
|
16 | 16 | <p><label for="password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label> |
|
17 | 17 | <%= password_field_tag 'password_confirmation', nil, :size => 25 %></p> |
|
18 | 18 | <% end %> |
|
19 | 19 | |
|
20 | 20 | <p><label for="user_firstname"><%=l(:field_firstname)%> <span class="required">*</span></label> |
|
21 | 21 | <%= text_field 'user', 'firstname' %></p> |
|
22 | 22 | |
|
23 | 23 | <p><label for="user_lastname"><%=l(:field_lastname)%> <span class="required">*</span></label> |
|
24 | 24 | <%= text_field 'user', 'lastname' %></p> |
|
25 | 25 | |
|
26 | 26 | <p><label for="user_mail"><%=l(:field_mail)%> <span class="required">*</span></label> |
|
27 | 27 | <%= text_field 'user', 'mail' %></p> |
|
28 | 28 | |
|
29 | 29 | <p><label for="user_language"><%=l(:field_language)%></label> |
|
30 | 30 | <%= select("user", "language", lang_options_for_select) %></p> |
|
31 | 31 | |
|
32 | 32 | <% if Setting.openid? %> |
|
33 | 33 | <p><label for="user_identity_url"><%=l(:field_identity_url)%></label> |
|
34 | 34 | <%= text_field 'user', 'identity_url' %></p> |
|
35 | 35 | <% end %> |
|
36 | 36 | |
|
37 | 37 | <% @user.custom_field_values.select {|v| v.editable? || v.required?}.each do |value| %> |
|
38 |
|
|
|
38 | <p><%= custom_field_tag_with_label :user, value %></p> | |
|
39 | 39 | <% end %> |
|
40 | 40 | <!--[eoform:user]--> |
|
41 | 41 | </div> |
|
42 | 42 | |
|
43 | 43 | <%= submit_tag l(:button_submit) %> |
|
44 | 44 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now