Defect #4043 » autocomplete_v2.diff
| app/views/auth_sources/_form_auth_source_ldap.html.erb | ||
|---|---|---|
|
<%= error_messages_for 'auth_source' %>
|
||
|
<div class="box tabular">
|
||
|
<p><%= f.text_field :name, :required => true %></p>
|
||
|
<p><%= f.text_field :host, :required => true %></p>
|
||
|
<p><%= f.text_field :port, :required => true, :size => 6 %> <%= f.check_box :tls, :no_label => true %> LDAPS</p>
|
||
|
<p><%= f.text_field :account %></p>
|
||
|
<p><%= f.password_field :account_password, :label => :field_password,
|
||
|
<p><%= f.text_field :name, :required => true, :autocomplete %></p>
|
||
|
<p><%= f.text_field :host, :required => true, :autocomplete %></p>
|
||
|
<p><%= f.text_field :port, :required => true, :size => 6, :autocomplete => 'off' %> <%= f.check_box :tls, :no_label => true %> LDAPS</p>
|
||
|
<p><%= f.text_field :account :autocomplete => 'off' %></p>
|
||
|
<p><%= f.password_field :account_password, :label => :field_password, :autocomplete => 'off',
|
||
|
:name => 'dummy_password',
|
||
|
: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><%= f.text_field :base_dn, :required => true, :size => 60 %></p>
|
||
|
<p><%= f.text_field :filter, :size => 60, :label => :field_auth_source_ldap_filter %></p>
|
||
|
<p><%= f.text_field :timeout, :size => 4 %></p>
|
||
|
<p><%= f.text_field :base_dn, :required => true, :size => 60, :autocomplete %></p>
|
||
|
<p><%= f.text_field :filter, :size => 60, :autocomplete, :label => :field_auth_source_ldap_filter %></p>
|
||
|
<p><%= f.text_field :timeout, :size => 4, :autocomplete %></p>
|
||
|
<p><%= f.check_box :onthefly_register, :label => :field_onthefly %></p>
|
||
|
</div>
|
||
|
<fieldset class="box tabular"><legend><%=l(:label_attribute_plural)%></legend>
|
||
|
<p><%= f.text_field :attr_login, :required => true, :size => 20 %></p>
|
||
|
<p><%= f.text_field :attr_firstname, :size => 20 %></p>
|
||
|
<p><%= f.text_field :attr_lastname, :size => 20 %></p>
|
||
|
<p><%= f.text_field :attr_mail, :size => 20 %></p>
|
||
|
<p><%= f.text_field :attr_login, :required => true, :size => 20, :autocomplete %></p>
|
||
|
<p><%= f.text_field :attr_firstname, :size => 20, :autocomplete %></p>
|
||
|
<p><%= f.text_field :attr_lastname, :size => 20, :autocomplete %></p>
|
||
|
<p><%= f.text_field :attr_mail, :size => 20, :autocomplete %></p>
|
||
|
</fieldset>
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »