xref: /webtrees/resources/views/modals/link-media-to-individual.phtml (revision b0fcccb03b84c12d54b4ae85014c3af52863d08c)
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