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