Form: Add the Description decorator by default for native title support
This commit is contained in:
parent
cbd061aa41
commit
ad288c08ca
library/Icinga/Web
|
@ -913,7 +913,12 @@ class Form extends Zend_Form
|
||||||
->addDecorator('FormDescriptions')
|
->addDecorator('FormDescriptions')
|
||||||
->addDecorator('FormElements')
|
->addDecorator('FormElements')
|
||||||
//->addDecorator('HtmlTag', array('tag' => 'dl', 'class' => 'zend_form'))
|
//->addDecorator('HtmlTag', array('tag' => 'dl', 'class' => 'zend_form'))
|
||||||
->addDecorator('Form');
|
->addDecorator('Form')
|
||||||
|
->addDecorator('Description', array(
|
||||||
|
'placement' => 'prepend',
|
||||||
|
'class' => 'form-title',
|
||||||
|
'tag' => 'h1'
|
||||||
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue