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