mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
parent
1cb2009dcd
commit
fbca28c024
@ -1206,16 +1206,19 @@ class Form extends Zend_Form
|
|||||||
'form' => $this
|
'form' => $this
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
$this->addDecorator('Description', array('tag' => 'h1', 'escape' => !$this->getUseFormAutosubmit()))
|
if ($this->getDescription() !== null) {
|
||||||
->addDecorator(
|
$this->addDecorator('Description', array('tag' => 'h1', 'escape' => !$this->getUseFormAutosubmit()))
|
||||||
|
->addDecorator(
|
||||||
'HtmlTag',
|
'HtmlTag',
|
||||||
array(
|
array(
|
||||||
'tag' => 'div',
|
'tag' => 'div',
|
||||||
'class' => 'header',
|
'class' => 'header',
|
||||||
'id' => 'header-' . $this->getId()
|
'id' => 'header-' . $this->getId()
|
||||||
)
|
)
|
||||||
)
|
);
|
||||||
->addDecorator('FormDescriptions')
|
}
|
||||||
|
|
||||||
|
$this->addDecorator('FormDescriptions')
|
||||||
->addDecorator('FormNotifications')
|
->addDecorator('FormNotifications')
|
||||||
->addDecorator('FormErrors', array('onlyCustomFormErrors' => true))
|
->addDecorator('FormErrors', array('onlyCustomFormErrors' => true))
|
||||||
->addDecorator('FormElements')
|
->addDecorator('FormElements')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user