]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/people/passwd.html
donation: Fix typo
[ipfire.org.git] / src / templates / people / passwd.html
index 5c072ea4f1a67e1c432400dd64ad5dde3c0fee1d..8285e71b49774cd2387797b4b32ab3bf495dfdc8 100644 (file)
@@ -1,11 +1,11 @@
 {% extends "base.html" %}
 
-{% block title %}{{ _("Change Password for %s") % account }}{% end block %}
+{% block title %}{{ account }} - {{ _("Change Password") }}{% end block %}
 
 {% block main %}
        <div class="row justify-content-center">
                <div class="col col-md-8">
-                       <h4 class="mb-4">{{ _("Change Password for %s") % account }}</h4>
+                       <h4 class="mb-4">{{ _("Change Password") }}</h4>
 
                        <form method="POST" action="">
                                {% raw xsrf_form_html() %}
                                                placeholder="{{ _("Current Password") }}">
                                </div>
 
-                               <fieldset>
-                                       <div class="form-group">
-                                               <label>{{ _("New Password") }}</label>
-
-                                               <input type="password" class="form-control" name="password1"
-                                                       placeholder="{{ _("New Password") }}">
-                                       </div>
-
-                                       <div class="form-group">
-                                               <input type="password" class="form-control" name="password2"
-                                                       placeholder="{{ _("Repeat Password") }}">
-                                       </div>
-                               </fieldset>
+                               {% module Password(account) %}
 
                                <input class="btn btn-primary btn-block" type="submit" value="{{ _("Change Password") }}">
                        </form>