diff options
Diffstat (limited to 'app/Template/task_creation/form.php')
-rw-r--r-- | app/Template/task_creation/form.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/app/Template/task_creation/form.php b/app/Template/task_creation/form.php index 8a29896e..325ca1c8 100644 --- a/app/Template/task_creation/form.php +++ b/app/Template/task_creation/form.php @@ -10,8 +10,7 @@ </div> <?php endif ?> -<section id="task-section"> -<form method="post" action="<?= $this->url->href('taskcreation', 'save', array('project_id' => $values['project_id'])) ?>" autocomplete="off"> +<form id="task-form" method="post" action="<?= $this->url->href('taskcreation', 'save', array('project_id' => $values['project_id'])) ?>" autocomplete="off"> <?= $this->form->csrf() ?> @@ -38,7 +37,7 @@ </ul> </div> - <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> + <?= $this->render('task/color_picker', array('colors_list' => $colors_list, 'values' => $values)) ?> <?php if (! isset($duplicate)): ?> <?= $this->form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?> @@ -62,9 +61,6 @@ <?= $this->form->label(t('Column'), 'column_id') ?> <?= $this->form->select('column_id', $columns_list, $values, $errors, array('tabindex="6"')) ?><br/> - <?= $this->form->label(t('Color'), 'color_id') ?> - <?= $this->form->select('color_id', $colors_list, $values, $errors, array('tabindex="7"')) ?><br/> - <?= $this->form->label(t('Complexity'), 'score') ?> <?= $this->form->number('score', $values, $errors, array('tabindex="8"')) ?><br/> @@ -80,5 +76,4 @@ <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue" tabindex="11"/> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?> </div> -</form> -</section> +</form>
\ No newline at end of file |