Project

General

Profile

« Previous | Next » 

Revision 82e47ae0

Added by Amos Benari about 12 years ago

  • ID 82e47ae0f86994702c3a084cc6150250a81034ee

updates UI to bootstrap v2

View differences:

app/views/auth_source_ldaps/_form.html.erb
<%= checkbox_f f, :tls, :label => "LDAPS" %>
<%= text_f f, :account, :help_inline =>"Use this account to authenticate,<i>optional</i>" %>
<%= password_f f, :account_password, :onfocus => "this.value='';", :help_inline => "Use this account to authenticate, <i>optional</i>" %>
<%= text_f f, :base_dn, :label => "basedn", :class => "xxlarge" %>
<%= text_f f, :base_dn, :label => "basedn", :class => "input-xxlarge" %>
<%= checkbox_f f, :onthefly_register, :label => "On-the-fly user creation", :onchange => "$('#on_the_fly_attrs').toggle($('#auth_source_ldap_onthefly_register').attr('checked'))",
:help_inline => "LDAP user will have his Foreman account automatically created the first time he logs into Foreman" %>
<div id="on_the_fly_attrs" <%= display?(!on_the_fly?(@auth_source_ldap)) %>>

Also available in: Unified diff