diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-05 18:24:46 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-05 18:24:46 -0400 |
commit | c62e14f1cc1a092996076e96b1074f36ba5a3425 (patch) | |
tree | d04f8fbf2e89f614ec78a5b644b30ed872af46dc /app/Template/task_modification/edit_task.php | |
parent | 70d3340cd0c9d7a009c186b14ca436e9c4e61aa5 (diff) |
Replace color dropdown by color picker in task forms
Diffstat (limited to 'app/Template/task_modification/edit_task.php')
-rw-r--r-- | app/Template/task_modification/edit_task.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/Template/task_modification/edit_task.php b/app/Template/task_modification/edit_task.php index 0cabc6e8..f4d7449a 100644 --- a/app/Template/task_modification/edit_task.php +++ b/app/Template/task_modification/edit_task.php @@ -11,7 +11,6 @@ <?= $this->form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"', 'tabindex="1"')) ?><br/> <?= $this->form->label(t('Description'), 'description') ?> - <div class="form-tabs"> <div class="write-area"> <?= $this->form->textarea('description', $values, $errors, array('placeholder="'.t('Leave a description').'"', 'tabindex="2"')) ?> @@ -29,6 +28,7 @@ </ul> </div> + <?= $this->render('task/color_picker', array('colors_list' => $colors_list, 'values' => $values)) ?> </div> <div class="form-column"> @@ -41,9 +41,6 @@ <?= $this->form->label(t('Category'), 'category_id') ?> <?= $this->form->select('category_id', $categories_list, $values, $errors, array('tabindex="4"')) ?><br/> - <?= $this->form->label(t('Color'), 'color_id') ?> - <?= $this->form->select('color_id', $colors_list, $values, $errors, array('tabindex="5"')) ?><br/> - <?= $this->form->label(t('Complexity'), 'score') ?> <?= $this->form->number('score', $values, $errors, array('tabindex="6"')) ?><br/> |