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.
49 lines
1.8 KiB
49 lines
1.8 KiB
19 years ago
|
<%= error_messages_for 'user' %>
|
||
|
|
||
|
<!--[form:user]-->
|
||
15 years ago
|
<div class="box tabular">
|
||
18 years ago
|
<p><%= f.text_field :login, :required => true, :size => 25 %></p>
|
||
18 years ago
|
<p><%= f.text_field :firstname, :required => true %></p>
|
||
18 years ago
|
<p><%= f.text_field :lastname, :required => true %></p>
|
||
18 years ago
|
<p><%= f.text_field :mail, :required => true %></p>
|
||
|
<p><%= f.select :language, lang_options_for_select %></p>
|
||
16 years ago
|
<% if Setting.openid? %>
|
||
16 years ago
|
<p><%= f.text_field :identity_url %></p>
|
||
16 years ago
|
<% end %>
|
||
18 years ago
|
|
||
17 years ago
|
<% @user.custom_field_values.each do |value| %>
|
||
|
<p><%= custom_field_tag_with_label :user, value %></p>
|
||
|
<% end %>
|
||
18 years ago
|
|
||
17 years ago
|
<p><%= f.check_box :admin, :disabled => (@user == User.current) %></p>
|
||
16 years ago
|
<%= call_hook(:view_users_form, :user => @user, :form => f) %>
|
||
19 years ago
|
</div>
|
||
18 years ago
|
|
||
13 years ago
|
<div class="box tabular">
|
||
13 years ago
|
<h3><%=l(:field_ui, :app_title => Setting.app_title)%></h3>
|
||
13 years ago
|
<%= render :partial => "users/impaired_settings" %>
|
||
|
</div>
|
||
|
|
||
15 years ago
|
<div class="box tabular">
|
||
18 years ago
|
<h3><%=l(:label_authentication)%></h3>
|
||
|
<% unless @auth_sources.empty? %>
|
||
18 years ago
|
<p><%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {Element.show('password_fields');} else {Element.hide('password_fields');}" %></p>
|
||
18 years ago
|
<% end %>
|
||
18 years ago
|
<div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>">
|
||
14 years ago
|
<p><%= f.password_field :password, :required => true, :size => 25, :autocomplete => :off %><br />
|
||
14 years ago
|
<%= password_complexity_requirements %></p>
|
||
14 years ago
|
<p><%= f.password_field :password_confirmation, :required => true, :size => 25, :autocomplete => :off %></p>
|
||
18 years ago
|
</div>
|
||
18 years ago
|
</div>
|
||
14 years ago
|
|
||
|
<div class="box">
|
||
|
<h3><%=l(:field_mail_notification)%></h3>
|
||
|
<%= render :partial => 'users/mail_notifications' %>
|
||
|
</div>
|
||
|
|
||
|
<div class="box tabular">
|
||
|
<h3><%=l(:label_preferences)%></h3>
|
||
|
<%= render :partial => 'users/preferences' %>
|
||
|
</div>
|
||
18 years ago
|
<!--[eoform:user]-->
|