xref: /webtrees/resources/views/forgot-password-page.phtml (revision d72b284a0846ca045e548a1c77ad11813bcbab92)
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 method="post" class="wt-page-options wt-page-options-forgot-password"">
15    <?= csrf_field() ?>
16    <input type="hidden" name="tree" 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