xref: /webtrees/resources/views/report-select-page.phtml (revision 8fcd0d32e56ee262912bbdb593202cfd1cbc1615)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<h2 class="wt-page-title">
4    <?= $title ?>
5</h2>
6
7<form class="wt-page-options wt-page-options-report-select">
8    <input type="hidden" name="route" value="report-setup">
9    <input type="hidden" name="ged" value="<?= e($tree->name()) ?>">
10    <div class="row form-group">
11        <label class="col-sm-3 col-form-label wt-page-options-label" for="report">
12            <?= I18N::translate('Report') ?>
13        </label>
14        <div class="col-sm-9 wt-page-options-value">
15            <select class="form-control" id="report" name="report">
16                <?php foreach ($reports as $file => $report) : ?>
17                    <option value="<?= e($file) ?>">
18                        <?= e($report) ?>
19                    </option>
20                <?php endforeach ?>
21            </select>
22        </div>
23    </div>
24
25    <div class="row form-group">
26        <div class="col-sm-3 col-form-label wt-page-options-label"></div>
27        <div class="col-sm-9 wt-page-options-value">
28            <button type="submit" class="btn btn-primary">
29                <?= I18N::translate('continue') ?>
30            </button>
31        </div>
32    </div>
33</form>
34