xref: /webtrees/resources/views/forgot-password-page.phtml (revision 3f0247b283a74c64ac885446380ea81de9cf779e)
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