Update form.php
Task Creation Left Column Hook
This commit is contained in:
@@ -28,6 +28,8 @@
|
|||||||
<?php if (! isset($duplicate)): ?>
|
<?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('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
|
<?= $this->hook->render('template:task:form:left-column', array('values'=>$values, 'errors'=>$errors)) ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-column">
|
<div class="form-column">
|
||||||
@@ -48,4 +50,4 @@
|
|||||||
<button type="submit" class="btn btn-blue" tabindex="15"><?= t('Save') ?></button>
|
<button type="submit" class="btn btn-blue" tabindex="15"><?= t('Save') ?></button>
|
||||||
<?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?>
|
<?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user