Mercurial > hg > soundsoftware-site
diff .svn/pristine/a1/a114226a5e7c9e4a3bea2e0a7b09765b01f8169d.svn-base @ 1296:038ba2d95de8 redmine-2.2
Fix redmine-2.2 branch update (add missing svn files)
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:05:06 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/a1/a114226a5e7c9e4a3bea2e0a7b09765b01f8169d.svn-base Fri Jun 14 09:05:06 2013 +0100 @@ -0,0 +1,50 @@ +<%= error_messages_for 'auth_source' %> + +<div class="box"> +<!--[form:auth_source]--> +<p><label for="auth_source_name"><%=l(:field_name)%> <span class="required">*</span></label> +<%= text_field 'auth_source', 'name' %></p> + +<p><label for="auth_source_host"><%=l(:field_host)%> <span class="required">*</span></label> +<%= text_field 'auth_source', 'host' %></p> + +<p><label for="auth_source_port"><%=l(:field_port)%> <span class="required">*</span></label> +<%= text_field 'auth_source', 'port', :size => 6 %> <%= check_box 'auth_source', 'tls' %> LDAPS</p> + +<p><label for="auth_source_account"><%=l(:field_account)%></label> +<%= text_field 'auth_source', 'account' %></p> + +<p><label for="auth_source_account_password"><%=l(:field_password)%></label> +<%= password_field 'auth_source', 'account_password', :name => 'ignore', + :value => ((@auth_source.new_record? || @auth_source.account_password.blank?) ? '' : ('x'*15)), + :onfocus => "this.value=''; this.name='auth_source[account_password]';", + :onchange => "this.name='auth_source[account_password]';" %></p> + +<p><label for="auth_source_base_dn"><%=l(:field_base_dn)%> <span class="required">*</span></label> +<%= text_field 'auth_source', 'base_dn', :size => 60 %></p> + +<p><label for="auth_source_custom_filter"><%=l(:field_auth_source_ldap_filter)%></label> +<%= text_field 'auth_source', 'filter', :size => 60 %></p> + +<p><label for="auth_source_timeout"><%=l(:field_timeout)%></label> +<%= text_field 'auth_source', 'timeout', :size => 4 %></p> + +<p><label for="auth_source_onthefly_register"><%=l(:field_onthefly)%></label> +<%= check_box 'auth_source', 'onthefly_register' %></p> +</div> + +<fieldset class="box"><legend><%=l(:label_attribute_plural)%></legend> +<p><label for="auth_source_attr_login"><%=l(:field_login)%> <span class="required">*</span></label> +<%= text_field 'auth_source', 'attr_login', :size => 20 %></p> + +<p><label for="auth_source_attr_firstname"><%=l(:field_firstname)%></label> +<%= text_field 'auth_source', 'attr_firstname', :size => 20 %></p> + +<p><label for="auth_source_attr_lastname"><%=l(:field_lastname)%></label> +<%= text_field 'auth_source', 'attr_lastname', :size => 20 %></p> + +<p><label for="auth_source_attr_mail"><%=l(:field_mail)%></label> +<%= text_field 'auth_source', 'attr_mail', :size => 20 %></p> +</fieldset> +<!--[eoform:auth_source]--> +