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