{% csrf_token %}
{{ form.first_name }}
{{ form.last_name }}
{{ form.username }}
{{ form.email }}
{{ form.password1 }}
{{ form.password2 }}
{% if form.errors %}

There were some errors in the information you entered. Please correct the following:

{{ form.non_field_errors }}
    {% for field in form %} {% if field.errors %}
  • {{ field.label }}: {{ field.errors|striptags }}
  • {% endif %} {% endfor %}
{% endif %}