1b315f3e1SGreg Roach<?php 2b315f3e1SGreg Roach 3*10e06497SGreg Roachdeclare(strict_types=1); 4*10e06497SGreg Roach 5b315f3e1SGreg Roachuse Fisharebest\Webtrees\Fact; 6b315f3e1SGreg Roach 7b315f3e1SGreg Roach/** 8b315f3e1SGreg Roach * @var Fact $fact 9b315f3e1SGreg Roach * @var string|null $url 10b315f3e1SGreg Roach */ 11b315f3e1SGreg Roach 12b315f3e1SGreg Roach?> 13b315f3e1SGreg Roach<?php if ($fact->canEdit()) : ?> 14b315f3e1SGreg Roach <div class="pt-2 wt-fact-edit-links"> 15b315f3e1SGreg Roach <?= view('edit/icon-fact-edit', ['fact' => $fact, 'url' => $url ?? null]) ?> 16b315f3e1SGreg Roach <?= view('edit/icon-fact-copy', ['fact' => $fact]) ?> 17b315f3e1SGreg Roach <?= view('edit/icon-fact-delete', ['fact' => $fact]) ?> 18b315f3e1SGreg Roach </div> 19b315f3e1SGreg Roach<?php endif ?> 20