Mercurial > hg > soundsoftware-site
comparison app/views/users/.svn/text-base/_form.rhtml.svn-base @ 117:af80e5618e9b redmine-1.1
* Update to Redmine 1.1-stable branch (Redmine SVN rev 4707)
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 12:53:21 +0000 |
parents | 94944d00e43c |
children | cbce1fd3b1b7 |
comparison
equal
deleted
inserted
replaced
39:150ceac17a8d | 117:af80e5618e9b |
---|---|
23 <h3><%=l(:label_authentication)%></h3> | 23 <h3><%=l(:label_authentication)%></h3> |
24 <% unless @auth_sources.empty? %> | 24 <% unless @auth_sources.empty? %> |
25 <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> | 25 <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> |
26 <% end %> | 26 <% end %> |
27 <div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>"> | 27 <div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>"> |
28 <p><label for="password"><%=l(:field_password)%><span class="required"> *</span></label> | 28 <p><%= f.password_field :password, :required => true, :size => 25 %><br /> |
29 <%= password_field_tag 'password', nil, :size => 25 %><br /> | |
30 <em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p> | 29 <em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p> |
31 <p><label for="password_confirmation"><%=l(:field_password_confirmation)%><span class="required"> *</span></label> | 30 <p><%= f.password_field :password_confirmation, :required => true, :size => 25 %></p> |
32 <%= password_field_tag 'password_confirmation', nil, :size => 25 %></p> | |
33 </div> | 31 </div> |
34 </div> | 32 </div> |
35 | 33 |
36 <div class="box"> | 34 <div class="box"> |
37 <h3><%=l(:field_mail_notification)%></h3> | 35 <h3><%=l(:field_mail_notification)%></h3> |