xref: /webtrees/resources/views/password-request-page.phtml (revision b0fcccb03b84c12d54b4ae85014c3af52863d08c)
1<?php
2
3use Fisharebest\Webtrees\Http\RequestHandlers\PasswordRequestAction;
4use Fisharebest\Webtrees\I18N;
5use Fisharebest\Webtrees\Tree;
6
7/**
8 * @var string $title
9 */
10?>
11
12<h2 class="wt-page-title">
13    <?= $title ?>
14</h2>
15
16<form method="post" action="<?= e(route(PasswordRequestAction::class, ['tree' => $tree instanceof Tree ? $tree->name() : null])) ?>" class="wt-page-options wt-page-options-login">
17    <?= csrf_field() ?>
18
19    <div class="form-group row">
20        <label class="col-sm-3 col-form-label wt-page-options-label" for="email">
21            <?= I18N::translate('Email') ?>
22        </label>
23        <div class="col-sm-9 wt-page-options-value">
24            <input class="form-control" type="email" id="email" name="email" autocomplete="email" required>
25        </div>
26    </div>
27
28    <div class="form-group row">
29        <div class="col-sm-3 col-form-label wt-page-options-label">
30        </div>
31        <div class="col-sm-9 wt-page-options-value">
32            <button class="btn btn-primary" type="submit">
33                <?= /* I18N: A button label. */
34                I18N::translate('continue') ?>
35            </button>
36
37        </div>
38    </div>
39</form>
40