public function textarea($fieldName, $attributes = array())
{
if ($this->freezed) {
list($model, $field) = explode('.', $fieldName);
$attributes = $attributes + array('type' => 'hidden');
if (isset($attributes["value"])) {
$value = $attributes["value"];
} else {
$value = $this->request->data[$model][$field];
}
if ($value) {
return parent::text($fieldName, $attributes) . nl2br($value);
} else {
return " ";
}
} else {
return parent::textarea($fieldName, $attributes);
}
}