blob: 56b5a4c04c8651086b9714499909097582fdc540 (
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
27
28
29
30
31
32
33
34
35
|
{% extends 'registration/base_simple.html' %}
{% block title %}Iscriviti{% endblock %}
{% block content %}
<div class="row">
<div class="col l6 offset-l3 m8 offset-m2 s12">
<div class="card">
<div class="card-content">
<h2>Iscriviti</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<br>
<label>
<input name="terms_accept" type="checkbox" class="filled-in"/>
<span style="color:black">Accetto i <a href="{% url 'terms' %}">Termini e condizioni generali</a></span>
</label>
<br>
<br>
<button class="btn waves-effect waves-light" type="submit">Invia</button>
</form>
</div>
</div>
</div>
</div>
{% endblock %}
{% block script %}
{% if error %}
document.addEventListener('DOMContentLoaded', function() {
M.toast({html: '{{ error_text }}', classes: 'orange'})
});
{% endif %}
{% endblock %}
|