aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/password_reset_confirm.html
blob: e77ecfe8650f97622b0593a5db5bb68e4ed96dae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends 'registration/base_simple.html' %}

{% block content %}
  <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 {{color}}" 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 %}