form->csrf() ?> form->hidden('id', $values) ?> form->hidden('task_id', $values) ?> form->label(t('Title'), 'title') ?> form->text('title', $values, $errors, array('required', 'autofocus', 'maxlength="255"')) ?>
form->label(t('Assignee'), 'user_id') ?> form->select('user_id', $users_list, $values, $errors) ?>
form->label(t('Original estimate'), 'time_estimated') ?> form->numeric('time_estimated', $values, $errors) ?>
form->label(t('Time spent'), 'time_spent') ?> form->numeric('time_spent', $values, $errors) ?>
url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>