diff options
Diffstat (limited to '')
-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 |