aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--accounts/templates/accounts/signup.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/accounts/templates/accounts/signup.html b/accounts/templates/accounts/signup.html
index 0decf9e..36ea568 100644
--- a/accounts/templates/accounts/signup.html
+++ b/accounts/templates/accounts/signup.html
@@ -11,6 +11,7 @@
<form method="post">
{% csrf_token %}
{{ form.as_p }}
+ <p>La password deve essere di almeno 8 caretteri e contenere lettere</p>
<br>
<label>
<input name="terms_accept" type="checkbox" class="filled-in"/>
@@ -27,9 +28,9 @@
{% endblock %}
{% block script %}
-{% if error %}
document.addEventListener('DOMContentLoaded', function() {
- M.toast({html: '{{ error_text }}', classes: 'orange'})
+{% for error in errors %}
+ M.toast({html: '{{ error }}', classes: 'orange'})
+{% endfor %}
});
-{% endif %}
{% endblock %} \ No newline at end of file