form->csrf() ?>
form->label(t('Title'), 'title') ?> form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"', 'tabindex="1"'), 'form-input-large') ?> form->label(t('Description'), 'description') ?> form->textarea( 'description', $values, $errors, array( 'placeholder="'.t('Leave a description').'"', 'tabindex="2"', 'data-mention-search-url="'.$this->url->href('UserHelper', 'mention', array('project_id' => $values['project_id'])).'"' ), 'markdown-editor' ) ?> render('task/color_picker', array('colors_list' => $colors_list, 'values' => $values)) ?> form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
form->hidden('project_id', $values) ?> task->selectAssignee($users_list, $values, $errors) ?> task->selectCategory($categories_list, $values, $errors) ?> task->selectSwimlane($swimlanes_list, $values, $errors) ?> task->selectColumn($columns_list, $values, $errors) ?> task->selectPriority($project, $values) ?> task->selectScore($values, $errors) ?> task->selectTimeEstimated($values, $errors) ?> task->selectDueDate($values, $errors) ?> hook->render('template:task:form:right-column', array('values'=>$values, 'errors'=>$errors)) ?>
url->link(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?>