function _form13($model, $fields)
{
$output = '';
foreach ($fields as $field) {
if (empty($field)) {
$output .= '<th> </th>';
} else {
$opts = array('label' => false);
switch ($this->Form->fieldset[$model]['fields'][$field]['type']) {
case "text":
$opts += array('type' => 'text');
break;
}
$output .= '<th>' . $this->Form->input($field, $opts) . '</th>';
}
}
return $output;
}