xref: /webtrees/resources/views/forgot-password-page.phtml (revision 5bfc689774bb9a6401271c4ed15a6d50652c991b)
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    <?= csrf_field() ?>
18    <input type="hidden" name="tree" value="<?= $tree instanceof Tree ? e($tree->name()) : '' ?>">
19
20    <div class="row form-group">
21        <label class="col-sm-3 col-form-label wt-page-options-label" for="identifier">
22            <?= I18N::translate('Username or email address') ?>
23        </label>
24        <div class="col-sm-9 wt-page-options-value">
25            <input class="form-control" type="text" id="identifier" name="identifier">
26        </div>
27    </div>
28
29    <div class="row form-group">
30        <div class="col-sm-3 col-form-label wt-page-options-label">
31        </div>
32        <div class="col-sm-9 wt-page-options-value">
33            <button class="btn btn-primary" type="submit">
34                <?= /* I18N: A button label. */
35                I18N::translate('continue') ?>
36            </button>
37        </div>
38    </div>
39</form>
40