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