From 6927f85e4d53fdb555f42be1b8aa20e4c393ce9c Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sat, 21 Oct 2023 10:42:37 +0200 Subject: [PATCH] Add: registration template --- .../apps/templates/accounts/register.html | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 archivist/apps/templates/accounts/register.html diff --git a/archivist/apps/templates/accounts/register.html b/archivist/apps/templates/accounts/register.html new file mode 100644 index 0000000..7f25140 --- /dev/null +++ b/archivist/apps/templates/accounts/register.html @@ -0,0 +1,101 @@ +{% extends "layouts/base-fullscreen.html" %} + +{% load static %} + +{% block title %} Sign up {% endblock %} + +{% block body_class %}{% endblock %} + + +{% block stylesheets %}{% endblock stylesheets %} + +{% block content %} + +{% include 'includes/navigation-transparent.html' %} + + +
+
+
+ +

+ + Sign up +

+ +
+

+ {% if msg %} + {{ msg | safe }} + {% else %} + Enter your email and password to register + {% endif %} +

+
+ + {% csrf_token %} + +
+ {{ form.username }} +
+ {{ form.username.errors }} + +
+ {{ form.email }} +
+ {{ form.email.errors }} + +
+ {{ form.password1 }} +
+ {{ form.password1.errors }} + +
+ {{ form.password2 }} +
+ {{ form.password2.errors }} + +
+ + +
+
+ +
+

+ Already have an account? + Sign in +

+ +
+ +
+ {% include 'includes/footer-auth.html' %} + +
+ +{% endblock content %} + + +{% block javascripts %}{% endblock javascripts %} +