xref: /webtrees/resources/views/forgot-password-page.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
14c9729fbSGreg Roach<?php
2d70512abSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
54c9729fbSGreg Roachuse Fisharebest\Webtrees\I18N;
64c9729fbSGreg Roachuse Fisharebest\Webtrees\Tree;
74c9729fbSGreg Roach
84c9729fbSGreg Roach/**
94c9729fbSGreg Roach * @var string    $title
107c2c99faSGreg Roach * @var Tree|null $tree
114c9729fbSGreg Roach */
124c9729fbSGreg Roach?>
13dd6b2bfcSGreg Roach
14dd6b2bfcSGreg Roach<h2 class="wt-page-title">
15dd6b2bfcSGreg Roach    <?= $title ?>
16dd6b2bfcSGreg Roach</h2>
17dd6b2bfcSGreg Roach
18b854e1f1SGreg Roach<form method="post" class="wt-page-options wt-page-options-forgot-password">
19d72b284aSGreg Roach    <input type="hidden" name="tree" value="<?= $tree instanceof Tree ? e($tree->name()) : '' ?>">
20dd6b2bfcSGreg Roach
219e3c2cf9SGreg Roach    <div class="row">
22dd6b2bfcSGreg Roach        <label class="col-sm-3 col-form-label wt-page-options-label" for="identifier">
23dd6b2bfcSGreg Roach            <?= I18N::translate('Username or email address') ?>
24dd6b2bfcSGreg Roach        </label>
25dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value">
26dd6b2bfcSGreg Roach            <input class="form-control" type="text" id="identifier" name="identifier">
27dd6b2bfcSGreg Roach        </div>
28dd6b2bfcSGreg Roach    </div>
29dd6b2bfcSGreg Roach
309e3c2cf9SGreg Roach    <div class="row">
31dd6b2bfcSGreg Roach        <div class="col-sm-3 col-form-label wt-page-options-label">
32dd6b2bfcSGreg Roach        </div>
33dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value">
34dd6b2bfcSGreg Roach            <button class="btn btn-primary" type="submit">
354c9729fbSGreg Roach                <?= /* I18N: A button label. */
364c9729fbSGreg Roach                I18N::translate('continue') ?>
37dd6b2bfcSGreg Roach            </button>
38dd6b2bfcSGreg Roach        </div>
39dd6b2bfcSGreg Roach    </div>
4081443e3cSGreg Roach
4181443e3cSGreg Roach    <?= csrf_field() ?>
42dd6b2bfcSGreg Roach</form>
43