aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/password_reset_confirm.html
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-07-20 23:53:03 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-07-20 23:53:03 +0200
commit3a175662da52cc770d52e46a9abe2cd782aa2142 (patch)
treeb65ec8d8e717b1928e47482cb54bd0787f7a0f05 /templates/registration/password_reset_confirm.html
parentreset password and decorators for login check (diff)
downloadscout-subs-3a175662da52cc770d52e46a9abe2cd782aa2142.tar.gz
scout-subs-3a175662da52cc770d52e46a9abe2cd782aa2142.zip
search users, show attachments, fancy pass reset
Diffstat (limited to '')
-rw-r--r--templates/registration/password_reset_confirm.html35
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