On Nov 23, 2009, at 12:57 PM, Thomas Weidner wrote:

> What do you mean with "standard" ?
> Actually the file element uses
> ->addDecorator('Description', array('tag' => 'p', 'class' => 'description'))
> 
> This is the same decorator as within Element and Captcha.
> Other elements like Image or Submit don't have a standard description 
> decorator.


I struggled with this as well. Here's what I use:

array(
        array('File'),
        array('Errors'),
        'Description',
        array('Label'),
        array(array('row'=>'HtmlTag'), array('tag'=>'li', 'class'=>'ele_file'))
    )

=======================
Ron Dyck
President
Webbtech
[email protected]
www.webbtech.net
[email protected]
========================







Reply via email to