{% extends 'base.html' %} {% block title %}Регистрация{% endblock %} {% block content %}

Регистрация

{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors }}
{% endif %}
{{ form.email }} {% if form.email.errors %}
{{ form.email.errors }}
{% endif %}
{% include 'accounts/password_input.html' with field_name=form.password1.id_for_label field_label='Пароль' required=True field_errors=form.password1.errors %} {% include 'accounts/password_input.html' with field_name=form.password2.id_for_label field_label='Подтверждение пароля' required=True field_errors=form.password2.errors %}
{% endblock %}