formCsrf() ?>
formLabel(t('Title'), 'title') ?> formText('title', $values, $errors, array('required', 'maxlength="200"')) ?>
formLabel(t('Description'), 'description') ?>
formTextarea('description', $values, $errors, array('placeholder="'.t('Leave a description').'"')) ?>
formHidden('id', $values) ?> formHidden('project_id', $values) ?> formLabel(t('Assignee'), 'owner_id') ?> formSelect('owner_id', $users_list, $values, $errors) ?>
formLabel(t('Category'), 'category_id') ?> formSelect('category_id', $categories_list, $values, $errors) ?>
formLabel(t('Color'), 'color_id') ?> formSelect('color_id', $colors_list, $values, $errors) ?>
formLabel(t('Complexity'), 'score') ?> formNumber('score', $values, $errors) ?>
formLabel(t('Due Date'), 'date_due') ?> formText('date_due', $values, $errors, array('placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?>
a(t('cancel'), 'board', 'show', array('project_id' => $task['project_id']), false, 'close-popover') ?> a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>