mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 11:19:16 +02:00
QuickForm: set decorators for form errors
This commit is contained in:
parent
7693192e66
commit
b7d4b3f1a2
@ -75,6 +75,14 @@ abstract class QuickForm extends Zend_Form
|
||||
$this->setAction(Url::fromRequest());
|
||||
$this->createIdElement();
|
||||
$this->regenerateCsrfToken();
|
||||
$this->setDecorators(
|
||||
array(
|
||||
'Description',
|
||||
array('FormErrors', array('onlyCustomFormErrors' => true)),
|
||||
'FormElements',
|
||||
'Form'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
protected function handleOptions($options = null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user