diff options
author | Eskiso <eSkiSo@users.noreply.github.com> | 2016-09-28 09:26:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-28 09:26:24 +0100 |
commit | a4686877e8d2391ad3a765ad41870ae0dbc05b45 (patch) | |
tree | 82afc10c82bf0e6b8ecef532f87a722559d4ac3c /app/Template/task_creation | |
parent | 2f64bc2e8d6dd17eafd8238db66c682199281e45 (diff) |
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.
Diffstat (limited to 'app/Template/task_creation')
-rw-r--r-- | app/Template/task_creation/show.php | 5 |
1 files 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 @@ <?= $this->task->selectTitle($values, $errors) ?> <?= $this->task->selectDescription($values, $errors) ?> <?= $this->task->selectTags($project) ?> - + + <?= $this->hook->render('template:task:form:first-column', array('values' => $values, 'errors' => $errors)) ?> + <?php if (! isset($duplicate)): ?> <?= $this->form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?> <?= $this->form->checkbox('duplicate_multiple_projects', t('Duplicate to multiple projects'), 1) ?> <?php endif ?> - <?= $this->hook->render('template:task:form:first-column', array('values' => $values, 'errors' => $errors)) ?> </div> <div class="form-column"> |