form->csrf() ?> 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->checkbox('another_subtask', t('Create another sub-task'), 1, isset($values['another_subtask']) && $values['another_subtask'] == 1) ?>
url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>