From c62e14f1cc1a092996076e96b1074f36ba5a3425 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 5 Sep 2015 18:24:46 -0400 Subject: Replace color dropdown by color picker in task forms --- app/Template/task_creation/form.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/Template/task_creation') 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 @@ -
url->doc(t('Write your text in Markdown'), 'syntax-guide') ?>
+ render('task/color_picker', array('colors_list' => $colors_list, 'values' => $values)) ?> form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?> @@ -61,9 +61,6 @@ form->label(t('Column'), 'column_id') ?> form->select('column_id', $columns_list, $values, $errors, array('tabindex="6"')) ?>
- form->label(t('Color'), 'color_id') ?> - form->select('color_id', $colors_list, $values, $errors, array('tabindex="7"')) ?>
- form->label(t('Complexity'), 'score') ?> form->number('score', $values, $errors, array('tabindex="8"')) ?>
-- cgit v1.2.3