xref: /webtrees/resources/views/password-request-page.phtml (revision 7dca5265e4312c8525862b13665feab404dce2f2)
1a00bcc63SGreg Roach<?php
256f9a9c1SGreg Roach
356f9a9c1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PasswordRequestAction;
4a00bcc63SGreg Roachuse Fisharebest\Webtrees\I18N;
5f917a287SGreg Roachuse Fisharebest\Webtrees\Tree;
6a00bcc63SGreg Roach
7a00bcc63SGreg Roach/**
8a00bcc63SGreg Roach * @var string    $title
9dc270d8cSGreg Roach * @var Tree|null $tree
10a00bcc63SGreg Roach */
11dc270d8cSGreg Roach
12a00bcc63SGreg Roach?>
13a00bcc63SGreg Roach
14a00bcc63SGreg Roach<h2 class="wt-page-title">
15a00bcc63SGreg Roach    <?= $title ?>
16a00bcc63SGreg Roach</h2>
17a00bcc63SGreg Roach
18f917a287SGreg Roach<form method="post" action="<?= e(route(PasswordRequestAction::class, ['tree' => $tree instanceof Tree ? $tree->name() : null])) ?>" class="wt-page-options wt-page-options-login">
19a00bcc63SGreg Roach    <?= csrf_field() ?>
20a00bcc63SGreg Roach
21a00bcc63SGreg Roach    <div class="form-group 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">
26*7dca5265SGreg Roach            <input class="form-control" type="email" id="email" name="email" autocomplete="email" required="required">
27a00bcc63SGreg Roach        </div>
28a00bcc63SGreg Roach    </div>
29a00bcc63SGreg Roach
30a00bcc63SGreg Roach    <div class="form-group 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>
41a00bcc63SGreg Roach</form>
42