blob: 54e01c5063f1339e9c64cdb54622d14235708cb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{% extends 'base.html' %}
{% block content %}
<form action="" method="post">
{% csrf_token %}
{{ form.non_field_errors }}
{% for field in form %}
<fieldset {% if field.errors %}class="error"{%endif%}>
{{field.label_tag}}
{{field}}
{% if field.label == "Password" %}<span class="helptext">Password should be 8 or more characters.</span>{% endif %}
{% if field.errors %}{{field.errors}}{% endif %}
</fieldset>
{% endfor %}
<p><input class="btn" value="submit" type="submit" /></p>
</form>
<p class="text-muted">Already have an account? <a href="{% url 'login' %}">Log in</a>.</p>
{% endblock %}
|