From 6adfdbabe0d44c17f32abc9d48a6e252e2a0792e Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 17 Nov 2022 19:16:34 -0700 Subject: Add signup and password reset --- templates/auth/reset.html | 20 ++++++++++++++++++++ templates/auth/reset_success.html | 14 ++++++++++++++ templates/auth/signup.html | 18 ++++++++++++++++++ templates/auth/signup_success.html | 15 +++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 templates/auth/reset.html create mode 100644 templates/auth/reset_success.html create mode 100644 templates/auth/signup.html create mode 100644 templates/auth/signup_success.html (limited to 'templates/auth') diff --git a/templates/auth/reset.html b/templates/auth/reset.html new file mode 100644 index 0000000..42eced9 --- /dev/null +++ b/templates/auth/reset.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} + +{% block title %}Reset Password{% endblock %} + +{% block content %} +
+ {% csrf_token %} +
+ Reset Password +

You are resetting your password for {{ reset.user.email }}.

+

Please choose your new password below.

+ {% for field in form %} + {% include "forms/_field.html" %} + {% endfor %} +
+
+ +
+
+{% endblock %} diff --git a/templates/auth/reset_success.html b/templates/auth/reset_success.html new file mode 100644 index 0000000..001e5d7 --- /dev/null +++ b/templates/auth/reset_success.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}Password Reset{% endblock %} + +{% block content %} +
+
+ Password Reset +

+ Your password for {{ email }} has been reset! +

+
+
+{% endblock %} diff --git a/templates/auth/signup.html b/templates/auth/signup.html new file mode 100644 index 0000000..d519476 --- /dev/null +++ b/templates/auth/signup.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}Create Account{% endblock %} + +{% block content %} +
+ {% csrf_token %} +
+ Create An Account + {% for field in form %} + {% include "forms/_field.html" %} + {% endfor %} +
+
+ +
+
+{% endblock %} diff --git a/templates/auth/signup_success.html b/templates/auth/signup_success.html new file mode 100644 index 0000000..20fc7c2 --- /dev/null +++ b/templates/auth/signup_success.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} + +{% block title %}Email Sent{% endblock %} + +{% block content %} +
+
+ Email Sent +

+ An email has been sent to {{ email }} - please follow + the link inside to finish creating your account. +

+
+
+{% endblock %} -- cgit v1.2.3