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

<a class="btn btn-link btn-sm" href="#" onclick="return copy_fact('<?= e($fact->record()->tree()->name()) ?>', '<?= e($fact->record()->xref()) ?>', '<?= e($fact->id()) ?>');" title="<?= I18N::translate('Copy') ?>">
    <?= view('icons/copy') ?>
    <span class="sr-only"><?= I18N::translate('Copy') ?></span>
</a>
