xref: /webtrees/resources/views/forgot-password-page.phtml (revision dda05045b4c2f9063e99083d2dbff48269db4ac2)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4use Fisharebest\Webtrees\Tree;
5
6/**
7 * @var string    $title
8 * @var Tree|null $tree
9 */
10?>
11
12<h2 class="wt-page-title">
13    <?= $title ?>
14</h2>
15
16<form method="post" class="wt-page-options wt-page-options-forgot-password">
17    <input type="hidden" name="tree" value="<?= $tree instanceof Tree ? e($tree->name()) : '' ?>">
18
19    <div class="row">
20        <label class="col-sm-3 col-form-label wt-page-options-label" for="identifier">
21            <?= I18N::translate('Username or email address') ?>
22        </label>
23        <div class="col-sm-9 wt-page-options-value">
24            <input class="form-control" type="text" id="identifier" name="identifier">
25        </div>
26    </div>
27
28    <div class="row">
29        <div class="col-sm-3 col-form-label wt-page-options-label">
30        </div>
31        <div class="col-sm-9 wt-page-options-value">
32            <button class="btn btn-primary" type="submit">
33                <?= /* I18N: A button label. */
34                I18N::translate('continue') ?>
35            </button>
36        </div>
37    </div>
38
39    <?= csrf_field() ?>
40</form>
41