<?php

/**
 * @var Mobicms\Render\Template\Template $this
 * @var string $message
 * @var string $form_action
 * @var string $confirm_name
 * @var string $back_url
 * @var string $csrf_token
 */

$this->layout('system::layout/default');
?>

<div class="alert alert-danger">
    <div class="pb-2">
        <?= $this->e($message) ?>
    </div>
    <div class="d-flex">
        <form action="<?= $this->e($form_action) ?>" method="post" class="me-2">
            <input type="hidden" name="csrf_token" value="<?= $csrf_token ?>">
            <button type="submit" class="btn btn-danger"><?= $this->e($confirm_name) ?></button>
        </form>
        <a href="<?= $this->e($back_url) ?>" class="btn btn-primary"><?= __('Cancel') ?></a>
    </div>
</div>
