xref: /webtrees/resources/views/components/alert-warning-dismissible.phtml (revision 1270d2767576ed4a83917769b0ee3613e3b010bf)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7/**
8 * @var string $alert
9 */
10
11?>
12
13<div class="alert alert-warning alert-dismissible fade show" role="alert">
14    <?= $alert ?>
15
16    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="<?= I18N::translate('close') ?>">
17    </button>
18</div>
19