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:
Thomas Gelf 2014-05-20 13:10:18 +00:00
parent ef56f2163e
commit b447225512
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ class Form extends Zend_Form
$decorators = $this->getDecorators();
if (empty($decorators)) {
$this->addDecorator('FormElements')
->addDecorator('HtmlTag', array('tag' => 'div')) // Quickfix to get subForms to work
//->addDecorator('HtmlTag', array('tag' => 'dl', 'class' => 'zend_form'))
->addDecorator('Form');
}