summaryrefslogtreecommitdiffstats
path: root/core/templates/registration/register.html
diff options
context:
space:
mode:
authorYulqen <246857+yulqen@users.noreply.github.com>2024-04-23 11:22:21 +0100
committerGitHub <noreply@github.com>2024-04-23 11:22:21 +0100
commitceca6fa956b21c43263e53c328d619c4ede21914 (patch)
treea48384210cdc168e3bd3ccff6d6d516eeed9e748 /core/templates/registration/register.html
parent8b084e9fe7a5f3a04c32daf9a24f7f2cf67300f9 (diff)
parent0f951dcf029d4af284467543a3afdf5bf6581a20 (diff)
Merge pull request #22 from defencedigital/pyswitch
switched to Django
Diffstat (limited to 'core/templates/registration/register.html')
-rw-r--r--core/templates/registration/register.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/templates/registration/register.html b/core/templates/registration/register.html
new file mode 100644
index 0000000..98615fd
--- /dev/null
+++ b/core/templates/registration/register.html
@@ -0,0 +1,22 @@
+{% extends "core/base.html" %}
+
+{% block title %}Register new user{% endblock title %}
+
+{% block content %}
+ <h1>Register a new user</h1>
+ <form action="{% url 'register' %}" method="post" accept-charset="utf-8">
+ {% csrf_token %}
+ {% if messages %}
+ <ul>
+ {% for message in messages %}
+ <li>{{ message }}</li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+ {{ form }}
+
+ <input type="submit" name="submit" id="submit" value="Register" />
+
+ </form>
+
+{% endblock content %}