summaryrefslogtreecommitdiff
path: root/app/Templates/comment_remove.php
blob: 02a23f93d46c31f5b3e3f5bdb41ca84ebc7f3d3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div class="page-header">
    <h2><?= t('Add a comment') ?></h2>
</div>

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

    <?= Helper\template('comment_show', array('comment' => $comment, 'task' => $task, 'preview' => true)) ?>

    <div class="form-actions">
        <a href="?controller=comment&amp;action=remove&amp;task_id=<?= $task['id'] ?>&amp;comment_id=<?= $comment['id'] ?>" class="btn btn-red"><?= t('Yes') ?></a>
        <?= t('or') ?> <a href="?controller=task&amp;action=show&amp;task_id=<?= $task['id'] ?>#comment-<?= $comment['id'] ?>"><?= t('cancel') ?></a>
    </div>
</div>