]> git.ipfire.org Git - ipfire.org.git/blob - src/templates/people/passwd.html
people: Allow users to change their own passwords
[ipfire.org.git] / src / templates / people / passwd.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("Change Password for %s") % account }}{% end block %}
4
5 {% block main %}
6 <div class="row justify-content-center">
7 <div class="col col-md-8">
8 <h4 class="mb-4">{{ _("Change Password for %s") % account }}</h4>
9
10 <form method="POST" action="">
11 {% raw xsrf_form_html() %}
12
13 <fieldset>
14 <div class="form-group">
15 <label>{{ _("New Password") }}</label>
16
17 <input type="password" class="form-control" name="password1"
18 placeholder="{{ _("New Password") }}">
19 </div>
20
21 <div class="form-group">
22 <input type="password" class="form-control" name="password2"
23 placeholder="{{ _("Repeat Password") }}">
24 </div>
25 </fieldset>
26
27 <div class="form-group">
28 <label>{{ _("Current Password") }}</label>
29
30 <input type="password" class="form-control" name="password"
31 placeholder="{{ _("Current Password") }}">
32 </div>
33
34 <input class="btn btn-primary btn-block" type="submit" value="{{ _("Change Password") }}">
35 </form>
36 </div>
37 </div>
38 {% end block %}