summaryrefslogtreecommitdiff
path: root/app/Templates/subtask_remove.php
blob: 2862176cec85d8318133cf2f44a9cc09be305f55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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">
        <a href="?controller=subtask&amp;action=remove&amp;task_id=<?= $task['id'] ?>&amp;subtask_id=<?= $subtask['id'] ?>" class="btn btn-red"><?= t('Yes') ?></a>
        <?= t('or') ?> <a href="?controller=task&amp;action=show&amp;task_id=<?= $task['id'] ?>#subtasks"><?= t('cancel') ?></a>
    </div>
</div>