diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-02 21:28:07 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-02 21:28:07 -0500 |
commit | 5eb4b570a12a590a98c66d253b0ba54c6062a997 (patch) | |
tree | 8878e26b1970a2096047cff0b7bf2fba5f962117 /app/Template/subtask/edit.php | |
parent | d6d9e61816a6d7000449f86f057dd1c97820cf4a (diff) |
Show subtask modification forms in inline popup
Diffstat (limited to 'app/Template/subtask/edit.php')
-rw-r--r-- | app/Template/subtask/edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/subtask/edit.php b/app/Template/subtask/edit.php index ca028108..acce625e 100644 --- a/app/Template/subtask/edit.php +++ b/app/Template/subtask/edit.php @@ -2,7 +2,7 @@ <h2><?= t('Edit a sub-task') ?></h2> </div> -<form method="post" action="<?= $this->url->href('subtask', 'update', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>" autocomplete="off"> +<form class="popover-form" method="post" action="<?= $this->url->href('subtask', 'update', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>" autocomplete="off"> <?= $this->form->csrf() ?> <?= $this->form->hidden('id', $values) ?> @@ -15,6 +15,6 @@ <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> <?= t('or') ?> - <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> </form> |