Form: Add the Description decorator by default for native title support
This commit is contained in:
parent
cbd061aa41
commit
ad288c08ca
|
@ -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'
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue