xref: /webtrees/resources/views/edit/icon-fact-copy.phtml (revision da58fa21ddd29f92b1fde63c8ee425cf3d7f4eee)
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