summaryrefslogtreecommitdiff
path: root/app/Template/subtask/remove.php
blob: 3d57ec9d5614e135fe2e71ac569125516856e7db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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><?= $this->e($subtask['title']) ?></strong></p>

    <div class="form-actions">
        <?= $this->a(t('Yes'), 'subtask', 'remove', array('task_id' => $task['id'], 'subtask_id' => $subtask['id']), true, 'btn btn-red') ?>
        <?= t('or') ?>
        <?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'])) ?>
    </div>
</div>