Skip to content

Commit

Permalink
Show discover button on LDAP resource forms on a new line for the moment
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 30, 2015
1 parent 32a92bb commit 2520d6a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions application/forms/Config/UserBackend/LdapBackendForm.php
Expand Up @@ -90,21 +90,11 @@ public function createElements(array $formData)
),
'decorators' => array(
array('ViewHelper', array('separator' => '')),
array('HtmlTag', array('tag' => 'div', 'class' => 'element'))
array('HtmlTag', array('tag' => 'div', 'class' => 'control-group form-controls'))
),
'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()) {
$connection = ResourceFactory::create(
Expand Down

0 comments on commit 2520d6a

Please sign in to comment.