1<?php 2 3use Fisharebest\Webtrees\I18N; 4use Fisharebest\Webtrees\Tree; 5 6/** 7 * @var Tree $tree 8 */ 9 10?> 11 12<div class="row mb-3"> 13 <label class="col-form-label col-sm-2" for="source-title"> 14 <?= I18N::translate('Title') ?> 15 </label> 16 <div class="col-sm-10"> 17 <input class="form-control" type="text" id="source-title" name="source-title" required="required"> 18 </div> 19</div> 20<div class="row mb-3"> 21 <label class="col-form-label col-sm-2" for="source-abbreviation"> 22 <?= I18N::translate('Abbreviation') ?> 23 </label> 24 <div class="col-sm-10"> 25 <input class="form-control" type="text" id="source-abbreviation" name="source-abbreviation"> 26 </div> 27</div> 28<div class="row mb-3"> 29 <label class="col-form-label col-sm-2" for="source-author"> 30 <?= I18N::translate('Author') ?> 31 </label> 32 <div class="col-sm-4"> 33 <input class="form-control" type="text" id="source-author" name="source-author"> 34 </div> 35 <label class="col-form-label col-sm-2" for="source-publication"> 36 <?= I18N::translate('Publication') ?> 37 </label> 38 <div class="col-sm-4"> 39 <input class="form-control" type="text" id="source-publication" name="source-publication"> 40 </div> 41</div> 42<div class="row mb-3"> 43 <label class="col-form-label col-sm-2" for="source-repository"> 44 <?= I18N::translate('Repository') ?> 45 </label> 46 <div class="col-sm-4"> 47 <?= view('components/select-repository', ['name' => 'source-repository', 'tree' => $tree]) ?> 48 </div> 49 <label class="col-form-label col-sm-2" for="source-call-number"> 50 <?= I18N::translate('Call number') ?> 51 </label> 52 <div class="col-sm-4"> 53 <input class="form-control" type="text" id="source-call-number" name="source-call-number"> 54 </div> 55</div> 56<div class="row mb-3"> 57 <label class="col-form-label col-sm-2" for="source-text"> 58 <?= I18N::translate('Text') ?> 59 </label> 60 <div class="col-sm-10"> 61 <textarea class="form-control" id="source-text" name="source-text" rows="5"></textarea> 62 </div> 63</div> 64 65<?= view('modals/restriction-fields') ?> 66