kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.7 KiB
48 lines
1.7 KiB
19 years ago
|
<h2><%=l(:label_my_account)%></h2>
|
||
19 years ago
|
|
||
19 years ago
|
<p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
|
||
|
<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>,
|
||
|
<%=l(:field_updated_on)%>: <%= format_time(@user.updated_on) %></p>
|
||
19 years ago
|
|
||
|
<%= error_messages_for 'user' %>
|
||
19 years ago
|
|
||
18 years ago
|
<div class="box">
|
||
|
<h3><%=l(:label_information_plural)%></h3>
|
||
|
|
||
|
<% labelled_tabular_form_for :user, @user, :url => { :action => "account" } do |f| %>
|
||
|
|
||
|
<p><%= f.text_field :firstname, :required => true %></p>
|
||
|
<p><%= f.text_field :lastname, :required => true %></p>
|
||
|
<p><%= f.text_field :mail, :required => true, :size => 40 %></p>
|
||
|
<p><%= f.select :language, lang_options_for_select %></p>
|
||
|
<p><%= f.check_box :mail_notification %></p>
|
||
|
|
||
|
<% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %>
|
||
|
<p><%= pref_fields.check_box :hide_mail %></p>
|
||
|
<% end %>
|
||
|
|
||
|
<center><%= submit_tag l(:button_save) %></center>
|
||
|
<% end %>
|
||
|
</div>
|
||
19 years ago
|
|
||
18 years ago
|
|
||
19 years ago
|
<% unless @user.auth_source_id %>
|
||
19 years ago
|
<div class="box">
|
||
19 years ago
|
<h3><%=l(:field_password)%></h3>
|
||
19 years ago
|
|
||
18 years ago
|
<%= start_form_tag({:action => 'change_password'}, :class => "tabular") %>
|
||
19 years ago
|
|
||
18 years ago
|
<p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
|
||
19 years ago
|
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
||
19 years ago
|
|
||
18 years ago
|
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
|
||
19 years ago
|
<%= password_field_tag 'new_password', nil, :size => 25 %></p>
|
||
19 years ago
|
|
||
18 years ago
|
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
|
||
19 years ago
|
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
|
||
19 years ago
|
|
||
19 years ago
|
<center><%= submit_tag l(:button_save) %></center>
|
||
19 years ago
|
<%= end_form_tag %>
|
||
19 years ago
|
</div>
|
||
|
<% end %>
|