summaryrefslogtreecommitdiff
path: root/app/Template/subtask/remove.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/subtask/remove.php')
-rw-r--r--app/Template/subtask/remove.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Template/subtask/remove.php b/app/Template/subtask/remove.php
new file mode 100644
index 00000000..74245a7a
--- /dev/null
+++ b/app/Template/subtask/remove.php
@@ -0,0 +1,17 @@
+<div class="page-header">
+ <h2><?= t('Remove a sub-task') ?></h2>
+</div>
+
+<div class="confirm">
+ <p class="alert alert-info">
+ <?= t('Do you really want to remove this sub-task?') ?>
+ </p>
+
+ <p><strong><?= Helper\escape($subtask['title']) ?></strong></p>
+
+ <div class="form-actions">
+ <?= Helper\a(t('Yes'), 'subtask', 'remove', array('task_id' => $task['id'], 'subtask_id' => $subtask['id']), 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