xref: /webtrees/resources/views/modals/link-media-to-individual.phtml (revision d70512ab02636ee884ef6d7907223ed02c754ff5)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6
7<form method="post" action="<?= e(route('link-media-to-record', ['tree' => $tree->name(), 'xref' => $media->xref()])) ?>" id="wt-modal-form">
8    <?= csrf_field() ?>
9
10    <?= view('modals/header', ['title' => I18N::translate('Link this media object to an individual')]) ?>
11
12    <div class="modal-body">
13        <div class="form-group">
14            <label class="col-form-label" for="link">
15                <?= I18N::translate('Individual') ?>
16            </label>
17            <?= view('components/select-individual', ['name' => 'link', 'tree' => $tree]) ?>
18        </div>
19    </div>
20
21    <?= view('modals/footer-save-cancel') ?>
22</form>
23