|
|
|
@ -76,10 +76,13 @@ See docs/COPYRIGHT.rdoc for more details. |
|
|
|
|
<fieldset class="form--fieldset"> |
|
|
|
|
<legend class="form--fieldset-legend"><%= t(:label_details) %></legend> |
|
|
|
|
<div class="form--field"><%= f.text_field 'account', container_class: '-middle' %></div> |
|
|
|
|
<div class="form--field"><%= f.password_field 'account_password', |
|
|
|
|
label: AuthSource.human_attribute_name(:password), |
|
|
|
|
placeholder: ((@auth_source.new_record? || @auth_source.account_password.blank?) ? '' : ('●'*15)), |
|
|
|
|
container_class: '-middle' %></div> |
|
|
|
|
<div class="form--field"> |
|
|
|
|
<%= f.password_field 'account_password', |
|
|
|
|
label: AuthSource.human_attribute_name(:password), |
|
|
|
|
placeholder: ((@auth_source.new_record? || @auth_source.account_password.blank?) ? '' : ('●'*15)), |
|
|
|
|
autocomplete: 'off', |
|
|
|
|
container_class: '-middle' %> |
|
|
|
|
</div> |
|
|
|
|
<div class="form--field"><%= f.text_field 'base_dn', size: 60, container_class: '-wide' %></div> |
|
|
|
|
<div class="form--field"><%= f.check_box 'onthefly_register', label: AuthSource.human_attribute_name(:onthefly) %></div> |
|
|
|
|
</fieldset> |
|
|
|
|