diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-17 18:26:17 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-17 18:26:17 -0400 |
commit | f9c24f3c2c46eccd18e70704c0e8767fa6023206 (patch) | |
tree | 0e26337e3910ef10a88a8093967748ce54bcc701 /templates/task_remove.php | |
parent | 4d677b720e818f9d14585479699335ec41ed3541 (diff) |
Add the possibility to remove a task
Diffstat (limited to 'templates/task_remove.php')
-rw-r--r-- | templates/task_remove.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/task_remove.php b/templates/task_remove.php new file mode 100644 index 00000000..1aa9503b --- /dev/null +++ b/templates/task_remove.php @@ -0,0 +1,10 @@ +<div class="confirm"> + <p class="alert alert-info"> + <?= t('Do you really want to remove this task: "%s"?', Helper\escape($task['title'])) ?> + </p> + + <div class="form-actions"> + <a href="?controller=task&action=remove&task_id=<?= $task['id'] ?>" class="btn btn-red"><?= t('Yes') ?></a> + <?= t('or') ?> <a href="?controller=task&action=show&task_id=<?= $task['id'] ?>"><?= t('cancel') ?></a> + </div> +</div>
\ No newline at end of file |