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