xref: /webtrees/resources/views/modals/error.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
17c2c99faSGreg Roach<?php
27c2c99faSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
57c2c99faSGreg Roach/**
67c2c99faSGreg Roach * @var string $error
77c2c99faSGreg Roach * @var string $title
87c2c99faSGreg Roach */
97c2c99faSGreg Roach
107c2c99faSGreg Roach?>
11dd6b2bfcSGreg Roach<?= view('modals/header', ['title' => $title]) ?>
12dd6b2bfcSGreg Roach
13dd6b2bfcSGreg Roach<div class="modal-body">
14dd6b2bfcSGreg Roach    <div class="alert alert-danger">
15dd6b2bfcSGreg Roach        <?= $error ?>
16dd6b2bfcSGreg Roach    </div>
17dd6b2bfcSGreg Roach</div>
18dd6b2bfcSGreg Roach
19dd6b2bfcSGreg Roach<?= view('modals/footer-close') ?>
20