diff options
Diffstat (limited to 'app/Templates/task_edit.php')
-rw-r--r-- | app/Templates/task_edit.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/Templates/task_edit.php b/app/Templates/task_edit.php index 8c8bc107..d698c21d 100644 --- a/app/Templates/task_edit.php +++ b/app/Templates/task_edit.php @@ -1,9 +1,12 @@ <section id="main"> <div class="page-header"> <h2><?= t('Edit a task') ?></h2> + <ul> + <li><a href="?controller=board&action=show&project_id=<?= $task['project_id'] ?>"><?= t('Back to the board') ?></a></li> + </ul> </div> <section> - <form method="post" action="?controller=task&action=update" autocomplete="off"> + <form method="post" action="?controller=task&action=update&task_id=<?= $task['id'] ?>" autocomplete="off"> <div class="form-column"> @@ -44,7 +47,7 @@ <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> - <?= t('or') ?> <a href="?controller=board&action=show&project_id=<?= $values['project_id'] ?>"><?= t('cancel') ?></a> + <?= t('or') ?> <a href="?controller=task&action=show&task_id=<?= $task['id'] ?>"><?= t('cancel') ?></a> </div> </form> </section> |