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