xref: /webtrees/resources/views/password-request-page.phtml (revision 81bf322104708dae4d3f2c78f87fb3e6027946a3)
1a00bcc63SGreg Roach<?php
256f9a9c1SGreg Roach
310e06497SGreg Roachdeclare(strict_types=1);
410e06497SGreg Roach
556f9a9c1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PasswordRequestAction;
6a00bcc63SGreg Roachuse Fisharebest\Webtrees\I18N;
7f917a287SGreg Roachuse Fisharebest\Webtrees\Tree;
8a00bcc63SGreg Roach
9a00bcc63SGreg Roach/**
10a00bcc63SGreg Roach * @var string    $title
11dc270d8cSGreg Roach * @var Tree|null $tree
12a00bcc63SGreg Roach */
13dc270d8cSGreg Roach
14a00bcc63SGreg Roach?>
15a00bcc63SGreg Roach
16a00bcc63SGreg Roach<h2 class="wt-page-title">
17a00bcc63SGreg Roach    <?= $title ?>
18a00bcc63SGreg Roach</h2>
19a00bcc63SGreg Roach
20*81bf3221SGreg Roach<form method="post" action="<?= e(route(PasswordRequestAction::class, ['tree' => $tree?->name()])) ?>" class="wt-page-options wt-page-options-login">
219e3c2cf9SGreg Roach    <div class="row">
22a00bcc63SGreg Roach        <label class="col-sm-3 col-form-label wt-page-options-label" for="email">
23a00bcc63SGreg Roach            <?= I18N::translate('Email') ?>
24a00bcc63SGreg Roach        </label>
25a00bcc63SGreg Roach        <div class="col-sm-9 wt-page-options-value">
267dca5265SGreg Roach            <input class="form-control" type="email" id="email" name="email" autocomplete="email" required="required">
27a00bcc63SGreg Roach        </div>
28a00bcc63SGreg Roach    </div>
29a00bcc63SGreg Roach
309e3c2cf9SGreg Roach    <div class="row">
31a00bcc63SGreg Roach        <div class="col-sm-3 col-form-label wt-page-options-label">
32a00bcc63SGreg Roach        </div>
33a00bcc63SGreg Roach        <div class="col-sm-9 wt-page-options-value">
34a00bcc63SGreg Roach            <button class="btn btn-primary" type="submit">
35a00bcc63SGreg Roach                <?= /* I18N: A button label. */
36a00bcc63SGreg Roach                I18N::translate('continue') ?>
37a00bcc63SGreg Roach            </button>
38a00bcc63SGreg Roach
39a00bcc63SGreg Roach        </div>
40a00bcc63SGreg Roach    </div>
4181443e3cSGreg Roach
4281443e3cSGreg Roach    <?= csrf_field() ?>
43a00bcc63SGreg Roach</form>
44