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