]> git.ipfire.org Git - ipfire.org.git/blob - src/templates/people/passwd.html
passwd: Ask for old password first and then the new ones
[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 <div class="form-group">
14 <label>{{ _("Current Password") }}</label>
15
16 <input type="password" class="form-control" name="password"
17 placeholder="{{ _("Current Password") }}">
18 </div>
19
20 <fieldset>
21 <div class="form-group">
22 <label>{{ _("New Password") }}</label>
23
24 <input type="password" class="form-control" name="password1"
25 placeholder="{{ _("New Password") }}">
26 </div>
27
28 <div class="form-group">
29 <input type="password" class="form-control" name="password2"
30 placeholder="{{ _("Repeat Password") }}">
31 </div>
32 </fieldset>
33
34 <input class="btn btn-primary btn-block" type="submit" value="{{ _("Change Password") }}">
35 </form>
36 </div>
37 </div>
38 {% end block %}