xref: /webtrees/resources/views/fact-edit-links.phtml (revision 78606cf427772fbdc5222ff607ee23f43078f94b)
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