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