summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEskiso <eSkiSo@users.noreply.github.com>2016-09-28 09:26:24 +0100
committerGitHub <noreply@github.com>2016-09-28 09:26:24 +0100
commita4686877e8d2391ad3a765ad41870ae0dbc05b45 (patch)
tree82afc10c82bf0e6b8ecef532f87a722559d4ac3c
parent2f64bc2e8d6dd17eafd8238db66c682199281e45 (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.
-rw-r--r--app/Template/task_creation/show.php5
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">