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.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message -----
From: "Colin Guthrie" <[email protected]>
To: <[email protected]>
Sent: Monday, November 23, 2009 6:33 PM
Subject: [fw-general] Zend_Form_Element_File & Description decorator is
different from all the others. Any Reason?
Anyone know of a reason why Zend_Form_Element_File() doesn't use the
standard Description decorator like all other form elements (<p
class="description"...)? Just curious as to if I should fix+report it?
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]