diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index 3ebfdaf04..795fac1e9 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -622,7 +622,7 @@ class Form extends Zend_Form public function addSubForm(Zend_Form $form, $name = null, $order = null) { if ($form instanceof self) { - $form->removeDecorator('Form'); + $form->setDecorators(array('FormElements')); // TODO: Makes it difficult to customise subform decorators.. $form->setSubmitLabel(''); $form->setTokenDisabled(); $form->setUidDisabled();