summaryrefslogtreecommitdiff
path: root/app/Template/comment/remove.php
blob: 374d2c373d80b6122f3b3782b3db274ce1709b78 (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 comment') ?></h2>
</div>

<div class="confirm">
    <p class="alert alert-info">
        <?= t('Do you really want to remove this comment?') ?>
    </p>

    <?= $this->render('comment/show', array('comment' => $comment, 'task' => $task, 'preview' => true)) ?>

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