mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Show discover button on LDAP resource forms on a new line for the moment
refs #5543
This commit is contained in:
parent
32a92bbdf3
commit
2520d6a57a
@ -90,21 +90,11 @@ class LdapBackendForm extends Form
|
|||||||
),
|
),
|
||||||
'decorators' => array(
|
'decorators' => array(
|
||||||
array('ViewHelper', array('separator' => '')),
|
array('ViewHelper', array('separator' => '')),
|
||||||
array('HtmlTag', array('tag' => 'div', 'class' => 'element'))
|
array('HtmlTag', array('tag' => 'div', 'class' => 'control-group form-controls'))
|
||||||
),
|
),
|
||||||
'formnovalidate' => 'formnovalidate'
|
'formnovalidate' => 'formnovalidate'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->addDisplayGroup(
|
|
||||||
array('resource', 'discovery_btn'),
|
|
||||||
'connection_discovery',
|
|
||||||
array(
|
|
||||||
'decorators' => array(
|
|
||||||
'FormElements',
|
|
||||||
array('HtmlTag', array('tag' => 'div', 'class' => 'control-group'))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
if ($this->getElement('discovery_btn')->isChecked()) {
|
if ($this->getElement('discovery_btn')->isChecked()) {
|
||||||
$connection = ResourceFactory::create(
|
$connection = ResourceFactory::create(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user