xref: /webtrees/resources/views/modules/block-template.phtml (revision 4fbeb707df82fa5025e6110f443695700edd846c)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<div class="card mb-4 wt-block wt-block-<?= e($block) ?>-block" id="block-<?= e($id) ?>">
4    <div class="card-header wt-block-header wt-block-header-<?= e($block) ?>" dir="auto">
5        <?php if ($config_url !== '') : ?>
6            <a class="btn btn-link" href="<?= e($config_url) ?>" title="<?= I18N::translate('Preferences') ?>">
7                <?= view('icons/preferences') ?>
8                <span class="sr-only"><?= I18N::translate('Preferences') ?></span>
9            </a>
10        <?php endif ?>
11        <?= $title ?>
12    </div>
13    <div class="card-body wt-block-content wt-block-content-<?= e($block) ?>">
14        <?= $content ?>
15    </div>
16</div>
17