Web\Form: Revert "Fix subForm functionality"
This reverts commit 51bac035ac
.
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…
Reference in New Issue