form->csrf() ?> form->hidden('project_id', $values) ?> form->hidden('column_id', $values) ?> form->hidden('position', $values) ?>
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"')) ?>
render('task/color_picker', array('colors_list' => $colors_list, 'values' => $values)) ?>
task->selectAssignee($users_list, $values, $errors) ?> task->selectCategory($categories_list, $values, $errors) ?> task->selectSwimlane($swimlanes_list, $values, $errors) ?> task->selectPriority($project, $values) ?> task->selectScore($values, $errors) ?> task->selectStartDate($values, $errors) ?> task->selectDueDate($values, $errors) ?>
url->link(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?>