1) Revert the changes to Form_Upload and Form_Textarea, so we don't have to change third party code.

2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>.  If $input->class is empty then treat as a hidden field.
This commit is contained in:
Tim Almdal
2008-12-07 21:24:50 +00:00
parent 954fcf0342
commit e518dafb19
3 changed files with 3 additions and 5 deletions

View File

@@ -13,7 +13,6 @@ class Form_Textarea_Core extends Form_Input {
protected $data = array
(
'type' => 'textarea',
'class' => 'textarea',
'value' => '',
);