aboutsummaryrefslogtreecommitdiff
path: root/design/templates/django_registration/registration_form.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-11-14 13:17:42 -0600
committerluxagraf <sng@luxagraf.net>2018-11-14 13:17:42 -0600
commita0b95dc2dfb84c682bb8f677e5d471f84e5028fe (patch)
tree6dd1919856f736c5b644270d59b57e4bb20336c5 /design/templates/django_registration/registration_form.html
wrote out basic notes skeleton
Diffstat (limited to 'design/templates/django_registration/registration_form.html')
-rw-r--r--design/templates/django_registration/registration_form.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/design/templates/django_registration/registration_form.html b/design/templates/django_registration/registration_form.html
new file mode 100644
index 0000000..54e01c5
--- /dev/null
+++ b/design/templates/django_registration/registration_form.html
@@ -0,0 +1,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 %}