xref: /webtrees/resources/views/modals/media-object-fields.phtml (revision b4250c5cea6f65a6cd2b476c0a937173ca8c6b13)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4use Fisharebest\Webtrees\Tree;
5
6/**
7 * @var string               $max_upload_size
8 * @var Tree                 $tree
9 * @var array<string,string> $unused_files
10 */
11
12?>
13
14<?= view('modals/media-file-fields', ['max_upload_size' => $max_upload_size, 'unused_files' => $unused_files, 'media_file' => null, 'tree' => $tree]) ?>
15
16<div class="form-group row">
17    <label class="col-form-label col-sm-2" for="media-note">
18        <?= I18N::translate('Note') ?>
19    </label>
20    <div class="col-sm-10">
21        <textarea class="form-control" id="media-note" name="media-note" rows="5" dir="auto"></textarea>
22    </div>
23</div>
24
25<?= view('modals/restriction-fields') ?>
26