form->csrf() ?> form->hidden('id', $values) ?> form->hidden('project_id', $values) ?>
form->label(t('Title'), 'title') ?> form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"', 'tabindex="1"')) ?> task->selectAssignee($users_list, $values, $errors) ?> task->selectCategory($categories_list, $values, $errors) ?> task->selectPriority($project, $values) ?> task->selectScore($values, $errors) ?> hook->render('template:task:form:left-column', array('values' => $values, 'errors' => $errors)) ?>
task->selectTimeEstimated($values, $errors) ?> task->selectTimeSpent($values, $errors) ?> task->selectStartDate($values, $errors) ?> task->selectDueDate($values, $errors) ?> hook->render('template:task:form:right-column', array('values' => $values, 'errors' => $errors)) ?>
render('task/color_picker', array('colors_list' => $colors_list, 'values' => $values)) ?>
url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>