xref: /webtrees/resources/views/forgot-password-page.phtml (revision 7c2c99fad7cacd17c98be88238ff735d82c6351b)
14c9729fbSGreg Roach<?php
2d70512abSGreg Roach
34c9729fbSGreg Roachuse Fisharebest\Webtrees\I18N;
44c9729fbSGreg Roachuse Fisharebest\Webtrees\Tree;
54c9729fbSGreg Roach
64c9729fbSGreg Roach/**
74c9729fbSGreg Roach * @var string    $title
8*7c2c99faSGreg Roach * @var Tree|null $tree
94c9729fbSGreg Roach */
104c9729fbSGreg Roach?>
11dd6b2bfcSGreg Roach
12dd6b2bfcSGreg Roach<h2 class="wt-page-title">
13dd6b2bfcSGreg Roach    <?= $title ?>
14dd6b2bfcSGreg Roach</h2>
15dd6b2bfcSGreg Roach
16d72b284aSGreg Roach<form method="post" class="wt-page-options wt-page-options-forgot-password"">
17dd6b2bfcSGreg Roach    <?= csrf_field() ?>
18d72b284aSGreg Roach    <input type="hidden" name="tree" value="<?= $tree instanceof Tree ? e($tree->name()) : '' ?>">
19dd6b2bfcSGreg Roach
20dd6b2bfcSGreg Roach    <div class="form-group row">
21dd6b2bfcSGreg Roach        <label class="col-sm-3 col-form-label wt-page-options-label" for="identifier">
22dd6b2bfcSGreg Roach            <?= I18N::translate('Username or email address') ?>
23dd6b2bfcSGreg Roach        </label>
24dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value">
25dd6b2bfcSGreg Roach            <input class="form-control" type="text" id="identifier" name="identifier">
26dd6b2bfcSGreg Roach        </div>
27dd6b2bfcSGreg Roach    </div>
28dd6b2bfcSGreg Roach
29dd6b2bfcSGreg Roach    <div class="form-group row">
30dd6b2bfcSGreg Roach        <div class="col-sm-3 col-form-label wt-page-options-label">
31dd6b2bfcSGreg Roach        </div>
32dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value">
33dd6b2bfcSGreg Roach            <button class="btn btn-primary" type="submit">
344c9729fbSGreg Roach                <?= /* I18N: A button label. */
354c9729fbSGreg Roach                I18N::translate('continue') ?>
36dd6b2bfcSGreg Roach            </button>
37dd6b2bfcSGreg Roach        </div>
38dd6b2bfcSGreg Roach    </div>
39dd6b2bfcSGreg Roach</form>
40