<?php

/**
 * This file is part of JohnCMS Content Management System.
 *
 * @copyright JohnCMS Community
 * @license   https://opensource.org/licenses/GPL-3.0 GPL-3.0
 * @link      https://johncms.com JohnCMS Project
 */

/**
 * @var $title
 * @var $page_title
 * @var $back_url
 */

$this->layout(
    'system::layout/default',
    [
        'title'      => $title,
        'page_title' => $page_title,
    ]
);
?>

<div class="alert alert-danger">
    <div class="pb-2">
        <?= __('Do you really want to delete a poll?') ?>
    </div>
    <div>
        <a href="/forum/?act=delvote&amp;id=<?= $id ?>&amp;yes" class="mr-2 btn btn-danger btn-sm"><?= __('Delete') ?></a>
        <a href="<?= $back_url ?>" class="mr-2 btn btn-primary btn-sm"><?= __('Cancel') ?></a>
    </div>
</div>

