Project

General

Profile

« Previous | Next » 

Revision bf4a13d3

Added by Walden Raines over 10 years ago

Fixes #3811 updating to bootstrap 3

View differences:

app/views/auth_source_ldaps/_form.html.erb
<% title_actions link_to(icon_text("question-sign", _("Documentation"), :class => "icon-white"), "http://www.theforeman.org/manuals/#{SETTINGS[:version].short}/index.html#4.1.2LDAPAuthentication", :rel => "external", :class => "btn-info") %>
<% title_actions link_to(icon_text("question-sign", _("Documentation"), :class => "icon-white"), "http://www.theforeman.org/manuals/#{SETTINGS[:version].short}/index.html#4.1.2LDAPAuthentication", :rel => "external", :class => "btn btn-info") %>
<%= form_for @auth_source_ldap do |f| %>
<%= base_errors_for @auth_source_ldap %>
......
<div class="tab-pane" id="account">
<%= text_f f, :account, :help_inline =>_("Use this account to authenticate, <i>optional</i>").html_safe %>
<%= password_f f, :account_password, :help_inline => _("Use this account to authenticate, <i>optional</i>").html_safe %>
<%= text_f f, :base_dn, :label => _("Base DN"), :class => "input-xxlarge" %>
<%= text_f f, :ldap_filter, :label => _("LDAP filter"), :help_inline => _("Custom LDAP search filter, <i>optional</i>").html_safe, :class => "input-xxlarge" %>
<%= text_f f, :base_dn, :label => _("Base DN"), :size => "col-md-8" %>
<%= text_f f, :ldap_filter, :label => _("LDAP filter"), :help_inline => _("Custom LDAP search filter, <i>optional</i>").html_safe, :size => "col-md-8" %>
<%= checkbox_f f, :onthefly_register,
:help_inline => _("LDAP users will have their Foreman account automatically created the first time they log into Foreman") %>
</div>

Also available in: Unified diff