formCsrf() ?>
formLabel(t('Title'), 'title') ?> formText('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"'), 'form-input-large') ?>
formLabel(t('Description'), 'description') ?>
formTextarea('description', $values, $errors, array('placeholder="'.t('Leave a description').'"')) ?>
formCheckbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
formHidden('project_id', $values) ?> formHidden('swimlane_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('Column'), 'column_id') ?> formSelect('column_id', $columns_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('Original estimate'), 'time_estimated') ?> formNumeric('time_estimated', $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' => $values['project_id']), false, 'close-popover') ?>