From aee65a706abf95038aaa201b2fae158ed754bbfb Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sat, 26 Mar 2016 16:21:23 +0100 Subject: [PATCH] QuickSubForm: one more forgotten file --- library/Director/Web/Form/QuickSubForm.php | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 library/Director/Web/Form/QuickSubForm.php diff --git a/library/Director/Web/Form/QuickSubForm.php b/library/Director/Web/Form/QuickSubForm.php new file mode 100644 index 00000000..ef320ad6 --- /dev/null +++ b/library/Director/Web/Form/QuickSubForm.php @@ -0,0 +1,35 @@ +loadDefaultDecoratorsIsDisabled()) { + return $this; + } + + $decorators = $this->getDecorators(); + if (empty($decorators)) { + $this->addDecorator('FormElements') + ->addDecorator('HtmlTag', array('tag' => 'dl')) + ->addDecorator('Fieldset') + ->addDecorator('DtDdWrapper'); + } + return $this; + } +}