xref: /webtrees/resources/views/edit/icon-fact-delete.phtml (revision 0d7461faf6813a991e15e8c12628309322cf28d5)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<a class="btn btn-link btn-sm" href="#" data-confirm="<?= I18N::translate('Are you sure you want to delete this fact?') ?>" data-post-url="<?= e(route('delete-fact', ['tree' => $fact->record()->tree()->name(), 'xref' => $fact->record()->xref(), 'fact_id' => $fact->id()])) ?>" title="<?= I18N::translate('Delete') ?>">
4    <?= view('icons/delete') ?>
5    <span class="sr-only"><?= I18N::translate('Delete') ?></span>
6</a>
7