xref: /webtrees/resources/views/password-request-page.phtml (revision 81443e3cbe4eef5ccdcf8dae716a7e35f7417b60)
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">
199e3c2cf9SGreg Roach    <div class="row">
20a00bcc63SGreg Roach        <label class="col-sm-3 col-form-label wt-page-options-label" for="email">
21a00bcc63SGreg Roach            <?= I18N::translate('Email') ?>
22a00bcc63SGreg Roach        </label>
23a00bcc63SGreg Roach        <div class="col-sm-9 wt-page-options-value">
247dca5265SGreg Roach            <input class="form-control" type="email" id="email" name="email" autocomplete="email" required="required">
25a00bcc63SGreg Roach        </div>
26a00bcc63SGreg Roach    </div>
27a00bcc63SGreg Roach
289e3c2cf9SGreg Roach    <div class="row">
29a00bcc63SGreg Roach        <div class="col-sm-3 col-form-label wt-page-options-label">
30a00bcc63SGreg Roach        </div>
31a00bcc63SGreg Roach        <div class="col-sm-9 wt-page-options-value">
32a00bcc63SGreg Roach            <button class="btn btn-primary" type="submit">
33a00bcc63SGreg Roach                <?= /* I18N: A button label. */
34a00bcc63SGreg Roach                I18N::translate('continue') ?>
35a00bcc63SGreg Roach            </button>
36a00bcc63SGreg Roach
37a00bcc63SGreg Roach        </div>
38a00bcc63SGreg Roach    </div>
39*81443e3cSGreg Roach
40*81443e3cSGreg Roach    <?= csrf_field() ?>
41a00bcc63SGreg Roach</form>
42