mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-01 02:54:24 +02:00
Web\Form: Revert "Fix subForm functionality"
This reverts commit 51bac035ac1bdee2c63f680ec66120beb1081af3. The div element introduced by this commit breaks inline form layout
This commit is contained in:
parent
ef56f2163e
commit
b447225512
@ -599,7 +599,7 @@ class Form extends Zend_Form
|
|||||||
$decorators = $this->getDecorators();
|
$decorators = $this->getDecorators();
|
||||||
if (empty($decorators)) {
|
if (empty($decorators)) {
|
||||||
$this->addDecorator('FormElements')
|
$this->addDecorator('FormElements')
|
||||||
->addDecorator('HtmlTag', array('tag' => 'div')) // Quickfix to get subForms to work
|
//->addDecorator('HtmlTag', array('tag' => 'dl', 'class' => 'zend_form'))
|
||||||
->addDecorator('Form');
|
->addDecorator('Form');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user