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