xref: /webtrees/resources/views/edit/icon-fact-edit.phtml (revision 2917771c25c65897723561cdcefe19f90d29a925)
1*2917771cSGreg Roach<?php
239b853a7SGreg Roach
3*2917771cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditFact;
4*2917771cSGreg Roachuse Fisharebest\Webtrees\I18N;
5*2917771cSGreg Roach
6*2917771cSGreg Roach?>
7*2917771cSGreg Roach
8*2917771cSGreg Roach<a class="btn btn-link btn-sm" href="<?= e(route(EditFact::class, ['xref' => $fact->record()->xref(), 'fact_id' => $fact->id(), 'tree' => $fact->record()->tree()->name()])) ?>" title="<?= I18N::translate('Edit') ?>">
939b853a7SGreg Roach    <?= view('icons/edit') ?>
1039b853a7SGreg Roach    <span class="sr-only"><?= I18N::translate('Edit') ?></span>
1139b853a7SGreg Roach</a>
12