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