Recreate registration v1

This commit is contained in:
Sokurov Idar
2021-02-18 19:22:10 +03:00
parent 227038ea38
commit b777d47041
11 changed files with 147 additions and 39 deletions

View File

@@ -11,14 +11,12 @@
{% block content %}
<form method="post" action="">
{% csrf_token %}
{% for field in form %}
{{ field.label_tag }}
{{ field }}
{{ form.email.label_tag }}
{{ form.email }}
<br>
{% if field.errors %}
<span>{{ field.errors }}</span>
{% if form.email.errors %}
<span>{{ form.email.errors }}</span>
{% endif %}
{% endfor %}
<input type="submit" value="Зарегистрироваться" class="clearfix">
</form>
{% endblock %}