From b447225512d5aad1aaeeddc72fc63989b3c2ac6f Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 20 May 2014 13:10:18 +0000 Subject: [PATCH] Web\Form: Revert "Fix subForm functionality" This reverts commit 51bac035ac1bdee2c63f680ec66120beb1081af3. The div element introduced by this commit breaks inline form layout --- library/Icinga/Web/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index 5d5c3da85..02c9787f4 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -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'); }