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