xref: /webtrees/resources/views/components/alert-warning-dismissible.phtml (revision 090a06287954f43677f06ea778b3f67c029de8fe)
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