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