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