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_modification/edit_task.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/Template/task_modification/edit_task.php') 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 @@ form->text('title', $values, $errors, array('autofocus', 'required', 'maxlength="200"', 'tabindex="1"')) ?>
form->label(t('Description'), 'description') ?> -
form->textarea('description', $values, $errors, array('placeholder="'.t('Leave a description').'"', 'tabindex="2"')) ?> @@ -29,6 +28,7 @@
+ render('task/color_picker', array('colors_list' => $colors_list, 'values' => $values)) ?>
@@ -41,9 +41,6 @@ form->label(t('Category'), 'category_id') ?> form->select('category_id', $categories_list, $values, $errors, array('tabindex="4"')) ?>
- form->label(t('Color'), 'color_id') ?> - form->select('color_id', $colors_list, $values, $errors, array('tabindex="5"')) ?>
- form->label(t('Complexity'), 'score') ?> form->number('score', $values, $errors, array('tabindex="6"')) ?>
-- cgit v1.2.3