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