<?php use Fisharebest\Webtrees\I18N; ?>

<a class="btn btn-link btn-sm" href="<?= e(route('edit-fact', ['xref' => $fact->record()->xref(), 'fact_id' => $fact->id(), 'ged' => $fact->record()->tree()->name()])) ?>" title="<?= I18N::translate('Edit') ?>">
    <?= view('icons/edit') ?>
    <span class="sr-only"><?= I18N::translate('Edit') ?></span>
</a>
