xref: /webtrees/resources/views/admin/fix-level-0-media-action.phtml (revision ad7270802ba57a28d195fc58fcc55f26458a779a)
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