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