xref: /webtrees/resources/views/edit/icon-fact-copy.phtml (revision 9ed80f829cfb208ae92f7928345696619569bf4e)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<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') ?>">
4    <?= view('icons/copy') ?>
5    <span class="sr-only"><?= I18N::translate('Copy') ?></span>
6</a>
7