xref: /webtrees/resources/views/edit/icon-fact-edit.phtml (revision dec352c1d7404cdd35c9b1a1b5d97f29e7c4ebb5)
1<?php
2
3use Fisharebest\Webtrees\Http\RequestHandlers\EditFactPage;
4use Fisharebest\Webtrees\I18N;
5
6?>
7
8<a class="btn btn-link btn-sm" href="<?= e(route(EditFactPage::class, ['xref' => $fact->record()->xref(), 'fact_id' => $fact->id(), 'tree' => $fact->record()->tree()->name(), 'url' => $url ?? $fact->record()->url()])) ?>" title="<?= I18N::translate('Edit') ?>">
9    <?= view('icons/edit') ?>
10    <span class="sr-only"><?= I18N::translate('Edit') ?></span>
11</a>
12