Form: Add the Description decorator by default for native title support

This commit is contained in:
Johannes Meyer 2015-03-02 18:24:02 +01:00
parent cbd061aa41
commit ad288c08ca
1 changed files with 6 additions and 1 deletions

View File

@ -913,7 +913,12 @@ class Form extends Zend_Form
->addDecorator('FormDescriptions')
->addDecorator('FormElements')
//->addDecorator('HtmlTag', array('tag' => 'dl', 'class' => 'zend_form'))
->addDecorator('Form');
->addDecorator('Form')
->addDecorator('Description', array(
'placement' => 'prepend',
'class' => 'form-title',
'tag' => 'h1'
));
}
}