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