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.
This commit is contained in:
Eskiso 2016-09-28 09:26:24 +01:00 committed by GitHub
parent 2f64bc2e8d
commit a4686877e8
1 changed files with 3 additions and 2 deletions

View File

@ -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">