xref: /webtrees/resources/views/modules/block-template.phtml (revision da58fa21ddd29f92b1fde63c8ee425cf3d7f4eee)
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