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