xref: /webtrees/resources/views/admin/fix-level-0-media-action.phtml (revision 242a78626998a767db1568b24919e94ae4b38ac3)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<button
4    class="btn btn-primary btn-small mb-1 wt-fix-button"
5    data-confirm="<?= I18N::translate('Move the media object?') ?>"
6    data-fact-id="<?= e($fact->id()) ?>"
7    data-tree-id="<?= e($tree->id()) ?>"
8    data-individual-xref="<?= e($individual->xref()) ?>"
9    data-media-xref="<?= e($media->xref()) ?>"
10    type="button"
11>
12    <?= $fact->label() ?>
13    <?= $fact->date()->display(false, '%Y', false) ?>
14</button>
15