Add new hook template:task:form:bottom-before-buttons
This commit is contained in:
parent
705648d795
commit
ea11436663
|
|
@ -37,6 +37,9 @@
|
|||
</div>
|
||||
|
||||
<div class="task-form-bottom">
|
||||
|
||||
<?= $this->hook->render('template:task:form:bottom-before-buttons', 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, '', array("tabindex" => "16")) ?>
|
||||
<?= $this->form->checkbox('duplicate_multiple_projects', t('Duplicate to multiple projects'), 1, false, '', array("tabindex" => "17")) ?>
|
||||
|
|
|
|||
|
|
@ -35,6 +35,9 @@
|
|||
</div>
|
||||
|
||||
<div class="task-form-bottom">
|
||||
|
||||
<?= $this->hook->render('template:task:form:bottom-before-buttons', array('values' => $values, 'errors' => $errors)) ?>
|
||||
|
||||
<?= $this->modal->submitButtons() ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue