xref: /webtrees/resources/views/forgot-password-page.phtml (revision 81443e3cbe4eef5ccdcf8dae716a7e35f7417b60)
14c9729fbSGreg Roach<?php
2d70512abSGreg Roach
34c9729fbSGreg Roachuse Fisharebest\Webtrees\I18N;
44c9729fbSGreg Roachuse Fisharebest\Webtrees\Tree;
54c9729fbSGreg Roach
64c9729fbSGreg Roach/**
74c9729fbSGreg Roach * @var string    $title
87c2c99faSGreg 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
16b854e1f1SGreg Roach<form method="post" class="wt-page-options wt-page-options-forgot-password">
17d72b284aSGreg Roach    <input type="hidden" name="tree" value="<?= $tree instanceof Tree ? e($tree->name()) : '' ?>">
18dd6b2bfcSGreg Roach
199e3c2cf9SGreg Roach    <div class="row">
20dd6b2bfcSGreg Roach        <label class="col-sm-3 col-form-label wt-page-options-label" for="identifier">
21dd6b2bfcSGreg Roach            <?= I18N::translate('Username or email address') ?>
22dd6b2bfcSGreg Roach        </label>
23dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value">
24dd6b2bfcSGreg Roach            <input class="form-control" type="text" id="identifier" name="identifier">
25dd6b2bfcSGreg Roach        </div>
26dd6b2bfcSGreg Roach    </div>
27dd6b2bfcSGreg Roach
289e3c2cf9SGreg Roach    <div class="row">
29dd6b2bfcSGreg Roach        <div class="col-sm-3 col-form-label wt-page-options-label">
30dd6b2bfcSGreg Roach        </div>
31dd6b2bfcSGreg Roach        <div class="col-sm-9 wt-page-options-value">
32dd6b2bfcSGreg Roach            <button class="btn btn-primary" type="submit">
334c9729fbSGreg Roach                <?= /* I18N: A button label. */
344c9729fbSGreg Roach                I18N::translate('continue') ?>
35dd6b2bfcSGreg Roach            </button>
36dd6b2bfcSGreg Roach        </div>
37dd6b2bfcSGreg Roach    </div>
38*81443e3cSGreg Roach
39*81443e3cSGreg Roach    <?= csrf_field() ?>
40dd6b2bfcSGreg Roach</form>
41