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