Added more template hooks

This commit is contained in:
Frederic Guillot
2016-04-24 17:03:09 -04:00
parent 51ec4b4cf8
commit f74d7ef209
8 changed files with 20 additions and 7 deletions

View File

@@ -29,7 +29,7 @@
<?= $this->form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
<?php endif ?>
<?= $this->hook->render('template:task:form:left-column', array('values'=>$values, 'errors'=>$errors)) ?>
<?= $this->hook->render('template:task:form:left-column', array('values' => $values, 'errors' => $errors)) ?>
</div>
<div class="form-column">
@@ -43,7 +43,7 @@
<?= $this->task->selectTimeEstimated($values, $errors) ?>
<?= $this->task->selectDueDate($values, $errors) ?>
<?= $this->hook->render('template:task:form:right-column', array('values'=>$values, 'errors'=>$errors)) ?>
<?= $this->hook->render('template:task:form:right-column', array('values' => $values, 'errors' => $errors)) ?>
</div>
<div class="form-actions">