##// END OF EJS Templates
updated date removed from my/account view (useless since account is updated at each login)...
Jean-Philippe Lang -
r175:1f79394ac4f4
parent child
Show More
@@ -1,47 +1,46
1 1 <h2><%=l(:label_my_account)%></h2>
2 2
3 3 <p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
4 <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>,
5 <%=l(:field_updated_on)%>: <%= format_time(@user.updated_on) %></p>
4 <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
6 5
7 6 <%= error_messages_for 'user' %>
8 7
9 8 <div class="box">
10 9 <h3><%=l(:label_information_plural)%></h3>
11 10
12 11 <% labelled_tabular_form_for :user, @user, :url => { :action => "account" } do |f| %>
13 12
14 13 <p><%= f.text_field :firstname, :required => true %></p>
15 14 <p><%= f.text_field :lastname, :required => true %></p>
16 15 <p><%= f.text_field :mail, :required => true, :size => 40 %></p>
17 16 <p><%= f.select :language, lang_options_for_select %></p>
18 17 <p><%= f.check_box :mail_notification %></p>
19 18
20 19 <% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %>
21 20 <p><%= pref_fields.check_box :hide_mail %></p>
22 21 <% end %>
23 22
24 23 <center><%= submit_tag l(:button_save) %></center>
25 24 <% end %>
26 25 </div>
27 26
28 27
29 28 <% unless @user.auth_source_id %>
30 29 <div class="box">
31 30 <h3><%=l(:field_password)%></h3>
32 31
33 32 <%= start_form_tag({:action => 'change_password'}, :class => "tabular") %>
34 33
35 34 <p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
36 35 <%= password_field_tag 'password', nil, :size => 25 %></p>
37 36
38 37 <p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
39 38 <%= password_field_tag 'new_password', nil, :size => 25 %></p>
40 39
41 40 <p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
42 41 <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
43 42
44 43 <center><%= submit_tag l(:button_save) %></center>
45 44 <%= end_form_tag %>
46 45 </div>
47 46 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now