<?php use Fisharebest\Webtrees\I18N; ?>

<button
	class="btn btn-primary btn-small mb-1 wt-fix-button"
	data-confirm="<?= I18N::translate('Move the media object?') ?>"
	data-fact-id="<?= e($fact->getFactId()) ?>"
	data-tree-id="<?= e($tree->getTreeId()) ?>"
	data-individual-xref="<?= e($individual->getXref()) ?>"
	data-media-xref="<?= e($media->getXref()) ?>"
	type="button"
>
	<?= $fact->getLabel() ?>
	<?= $fact->getDate()->display(false, '%Y', false) ?>
</button>
