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