I had to change a core function to write the css className we want to
use. Is there somewhere to configure this outside the core? Would it
be considered an enhancement?
--/cake/libs/view/helper.php
function __initInputField($field, $options = array()) {
if ($field !== null) {
$this->setEntity($field);
}
$options = (array)$options;
$options = $this->__name($options);
$options = $this->value($options);
$options = $this->domId($options);
if ($this->tagIsInvalid()) {
//$options = $this->addClass($options, 'form-error');
$options = $this->addClass($options,
'camp_form_error'); // LP 2/6/08
}
return $options;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---