summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-25 18:22:26 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-25 18:22:26 -0400
commitc5fc56894e5be89dd968c27c36a483e2e64afe3b (patch)
treef78e025b8101f7baf61413236af9799eb287d1fd
parent407a51e6c45f411533b13176a614ed28e7cd460d (diff)
parent02da622b23443ad8c5c9b484c1027ca1b1bd472d (diff)
Merge pull-request #2051
-rw-r--r--app/Template/task_creation/form.php4
-rw-r--r--doc/plugin-hooks.markdown1
2 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/task_creation/form.php b/app/Template/task_creation/form.php
index cecba9ef..9bfd839f 100644
--- a/app/Template/task_creation/form.php
+++ b/app/Template/task_creation/form.php
@@ -28,6 +28,8 @@
<?php if (! isset($duplicate)): ?>
<?= $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)) ?>
</div>
<div class="form-column">
@@ -48,4 +50,4 @@
<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') ?>
</div>
-</form> \ No newline at end of file
+</form>
diff --git a/doc/plugin-hooks.markdown b/doc/plugin-hooks.markdown
index c7d0ad49..595f8d52 100644
--- a/doc/plugin-hooks.markdown
+++ b/doc/plugin-hooks.markdown
@@ -179,6 +179,7 @@ List of template hooks:
| `template:project-user:sidebar` | Sidebar on project user overview page |
| `template:task:dropdown` | Task dropdown menu in listing pages |
| `template:task:sidebar` | Sidebar on task page |
+| `template:task:form:left-column` | Left column in task form |
| `template:task:form:right-column` | Right column in task form |
| `template:task:show:top ` | Show task page: top |
| `template:task:show:bottom` | Show task page: bottom |