summaryrefslogtreecommitdiff
path: root/app/Template/task/remove.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-03 21:59:48 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-03 21:59:48 -0500
commit9fb2e711899ae328a7a09295468793ffbc16c27c (patch)
tree1efba503386d939c61767f8fbbf006dcfdcd6a34 /app/Template/task/remove.php
parent8a02ceb40e88c27777a95251083bc21629d62bb0 (diff)
Move tasks templates to a subfolder
Diffstat (limited to 'app/Template/task/remove.php')
-rw-r--r--app/Template/task/remove.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Template/task/remove.php b/app/Template/task/remove.php
new file mode 100644
index 00000000..5d6095bc
--- /dev/null
+++ b/app/Template/task/remove.php
@@ -0,0 +1,15 @@
+<div class="page-header">
+ <h2><?= t('Remove a task') ?></h2>
+</div>
+
+<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">
+ <?= Helper\a(t('Yes'), 'task', 'remove', array('task_id' => $task['id'], 'confirmation' => 'yes'), true, 'btn btn-red') ?>
+ <?= t('or') ?>
+ <?= Helper\a(t('cancel'), 'task', 'show', array('task_id' => $task['id'])) ?>
+ </div>
+</div> \ No newline at end of file