From a4686877e8d2391ad3a765ad41870ae0dbc05b45 Mon Sep 17 00:00:00 2001 From: Eskiso Date: Wed, 28 Sep 2016 09:26:24 +0100 Subject: Moved plugin added fields on the first column to position before checkbox For templating reasons, when adding new fields to the first column they should be between tag selection and the checkbox. --- app/Template/task_creation/show.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Template/task_creation/show.php b/app/Template/task_creation/show.php index c2cc4aac..0c267aff 100644 --- a/app/Template/task_creation/show.php +++ b/app/Template/task_creation/show.php @@ -10,13 +10,14 @@ task->selectTitle($values, $errors) ?> task->selectDescription($values, $errors) ?> task->selectTags($project) ?> - + + hook->render('template:task:form:first-column', array('values' => $values, 'errors' => $errors)) ?> + form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?> form->checkbox('duplicate_multiple_projects', t('Duplicate to multiple projects'), 1) ?> - hook->render('template:task:form:first-column', array('values' => $values, 'errors' => $errors)) ?>
-- cgit v1.2.3