formCsrf() ?> formHidden('task_id', $values) ?> formLabel(t('Title'), 'title') ?> formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="50"')) ?>
formLabel(t('Assignee'), 'user_id') ?> formSelect('user_id', $users_list, $values, $errors) ?>
formLabel(t('Original estimate'), 'time_estimated') ?> formNumeric('time_estimated', $values, $errors) ?>
formCheckbox('another_subtask', t('Create another sub-task'), 1, isset($values['another_subtask']) && $values['another_subtask'] == 1) ?>
a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>