SOITA/templates/register.html

22 lines
540 B
HTML

{% extends "authBase.html" %}
{% block title %}Create account{% endblock %}
{% block content %}
<h2>Register</h2>
<form method="post"> {% csrf_token %}
{% for field in registration_form %}
<p>
{{field.label_tag}}
{{field}}
{% for error in field.errors %}
<p style="color: red;">{{error}}</p>
{% endfor %}
</p>
{% endfor %}
<input type="submit" value="Crete account">
</form>
{% endblock %}