diff options
Diffstat (limited to 'templates/changepw.html')
-rw-r--r-- | templates/changepw.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/changepw.html b/templates/changepw.html index a7c1dc6..207ce7e 100644 --- a/templates/changepw.html +++ b/templates/changepw.html @@ -12,10 +12,10 @@ <br> {{ .CsrfField }} <label class="form-element-wrapper">New password - <input type="password" name="new_password" class="form-element form-field" /> + <input id="new_password" type="password" name="new_password" class="form-element form-field" data-password-strength /> </label> <label class="form-element-wrapper">Repeat password - <input type="password" name="new_password_again" class="form-element form-field" /> + <input type="password" name="new_password_again" class="form-element form-field" data-same-as="new_password" /> </label> <div class="form-element-wrapper"> <input type="submit" value="Change password" class="form-element form-button" /> @@ -23,6 +23,7 @@ </form> <div class="column full"> - <a href=".">Back</a> + <a href="{{.BasePath}}/">Back</a> </div> + <script src="{{.BasePath}}/static/js/password_strength.js"></script> {{ end }} |