diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-20 23:53:03 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-20 23:53:03 +0200 |
commit | 3a175662da52cc770d52e46a9abe2cd782aa2142 (patch) | |
tree | b65ec8d8e717b1928e47482cb54bd0787f7a0f05 /templates/registration/password_reset_confirm.html | |
parent | reset password and decorators for login check (diff) | |
download | scout-subs-3a175662da52cc770d52e46a9abe2cd782aa2142.tar.gz scout-subs-3a175662da52cc770d52e46a9abe2cd782aa2142.zip |
search users, show attachments, fancy pass reset
Diffstat (limited to 'templates/registration/password_reset_confirm.html')
-rw-r--r-- | templates/registration/password_reset_confirm.html | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/templates/registration/password_reset_confirm.html b/templates/registration/password_reset_confirm.html index 6838eb8..b0b46a4 100644 --- a/templates/registration/password_reset_confirm.html +++ b/templates/registration/password_reset_confirm.html @@ -1,17 +1,26 @@ {% extends 'registration/base_simple.html' %} {% block content %} - {% if validlink %} - <h3>Change password</h3> - <form method="post"> - {% csrf_token %} - {{ form.as_p }} - <button type="submit">Change password</button> - </form> - {% else %} - <p> - The password reset link was invalid, possibly because it has already been used. - Please request a new password reset. - </p> - {% endif %} + <div class="row"> + <div class="col l4 offset-l4 m8 offset-m2 s12"> + <div class="card"> + <div class="card-content"> + {% if validlink %} + <h5>Cambia password</h5> + <form method="post"> + {% csrf_token %} + {{ form.as_p }} + <br> + <button class="btn waves-effect waves-light" type="submit">Invia</button> + </form> + {% else %} + <p> + Il link di reimpostazione della password è invalido, probabilmente perchè è già stato usato. + Prego richiedere un altro link. + </p> + {% endif %} + </div> + </div> + </div> + </div> {% endblock %}
\ No newline at end of file |