@@ -12,19 +12,19 | |||
|
12 | 12 | :html => { :id => 'my_account_form' } do |f| %> |
|
13 | 13 | <div class="splitcontentleft"> |
|
14 | 14 | <fieldset class="box tabular"> |
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 | ||
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
15 | <legend><%=l(:label_information_plural)%></legend> | |
|
16 | <p><%= f.text_field :firstname, :required => true %></p> | |
|
17 | <p><%= f.text_field :lastname, :required => true %></p> | |
|
18 | <p><%= f.text_field :mail, :required => true %></p> | |
|
19 | <p><%= f.select :language, lang_options_for_select %></p> | |
|
20 | <% if Setting.openid? %> | |
|
21 | <p><%= f.text_field :identity_url %></p> | |
|
22 | <% end %> | |
|
23 | ||
|
24 | <% @user.custom_field_values.select(&:editable?).each do |value| %> | |
|
25 | <p><%= custom_field_tag_with_label :user, value %></p> | |
|
26 | <% end %> | |
|
27 | <%= call_hook(:view_my_account, :user => @user, :form => f) %> | |
|
28 | 28 | </fieldset> |
|
29 | 29 | |
|
30 | 30 | <%= submit_tag l(:button_save) %> |
@@ -32,13 +32,13 | |||
|
32 | 32 | |
|
33 | 33 | <div class="splitcontentright"> |
|
34 | 34 | <fieldset class="box"> |
|
35 |
|
|
|
36 |
|
|
|
35 | <legend><%=l(:field_mail_notification)%></legend> | |
|
36 | <%= render :partial => 'users/mail_notifications' %> | |
|
37 | 37 | </fieldset> |
|
38 | 38 | |
|
39 | 39 | <fieldset class="box tabular"> |
|
40 |
|
|
|
41 |
|
|
|
40 | <legend><%=l(:label_preferences)%></legend> | |
|
41 | <%= render :partial => 'users/preferences' %> | |
|
42 | 42 | </fieldset> |
|
43 | 43 | |
|
44 | 44 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now