xref: /webtrees/resources/views/forgot-password-page.phtml (revision 9b152ff9230017d2c03aa1bf603a98b18250446d)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4use Fisharebest\Webtrees\Tree;
5
6/**
7 * @var string $title
8 */
9?>
10
11<h2 class="wt-page-title">
12    <?= $title ?>
13</h2>
14
15<form method="post" class="wt-page-options wt-page-options-forgot-password"">
16    <?= csrf_field() ?>
17    <input type="hidden" name="tree" value="<?= $tree instanceof Tree ? e($tree->name()) : '' ?>">
18
19    <div class="form-group 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="form-group 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</form>
39