xref: /webtrees/resources/views/fact-edit-links.phtml (revision 1270d2767576ed4a83917769b0ee3613e3b010bf)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Fact;
6
7/**
8 * @var Fact        $fact
9 * @var string|null $url
10 */
11
12?>
13<?php if ($fact->canEdit()) : ?>
14    <div class="pt-2 wt-fact-edit-links">
15        <?= view('edit/icon-fact-edit', ['fact' => $fact, 'url' => $url ?? null]) ?>
16        <?= view('edit/icon-fact-copy', ['fact' => $fact]) ?>
17        <?= view('edit/icon-fact-delete', ['fact' => $fact]) ?>
18    </div>
19<?php endif ?>
20