summaryrefslogtreecommitdiff
path: root/app/Template/task_creation
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-05 18:24:46 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-05 18:24:46 -0400
commitc62e14f1cc1a092996076e96b1074f36ba5a3425 (patch)
treed04f8fbf2e89f614ec78a5b644b30ed872af46dc /app/Template/task_creation
parent70d3340cd0c9d7a009c186b14ca436e9c4e61aa5 (diff)
Replace color dropdown by color picker in task forms
Diffstat (limited to 'app/Template/task_creation')
-rw-r--r--app/Template/task_creation/form.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/Template/task_creation/form.php b/app/Template/task_creation/form.php
index 747c843d..325ca1c8 100644
--- a/app/Template/task_creation/form.php
+++ b/app/Template/task_creation/form.php
@@ -37,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) ?>
@@ -61,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/>