From a0b95dc2dfb84c682bb8f677e5d471f84e5028fe Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 14 Nov 2018 13:17:42 -0600 Subject: wrote out basic notes skeleton --- .../django_registration/activation_complete.html | 8 ++++++++ .../django_registration/activation_email_body.txt | 5 +++++ .../django_registration/activation_email_subject.txt | 1 + .../django_registration/registration_complete.html | 7 +++++++ .../django_registration/registration_form.html | 17 +++++++++++++++++ 5 files changed, 38 insertions(+) create mode 100644 design/templates/django_registration/activation_complete.html create mode 100644 design/templates/django_registration/activation_email_body.txt create mode 100644 design/templates/django_registration/activation_email_subject.txt create mode 100644 design/templates/django_registration/registration_complete.html create mode 100644 design/templates/django_registration/registration_form.html (limited to 'design/templates/django_registration') diff --git a/design/templates/django_registration/activation_complete.html b/design/templates/django_registration/activation_complete.html new file mode 100644 index 0000000..914be51 --- /dev/null +++ b/design/templates/django_registration/activation_complete.html @@ -0,0 +1,8 @@ + +{% extends 'base.html' %} +{% block content %} +
+

Your account is now active.

+

Login and get started! +

+{% endblock %} diff --git a/design/templates/django_registration/activation_email_body.txt b/design/templates/django_registration/activation_email_body.txt new file mode 100644 index 0000000..8b1e134 --- /dev/null +++ b/design/templates/django_registration/activation_email_body.txt @@ -0,0 +1,5 @@ +Thanks for signing up with {{site}}, just one more thing to do, click this link to confirm your email: + +{{scheme}}://{{site}}/register/{{activation_key}} + + diff --git a/design/templates/django_registration/activation_email_subject.txt b/design/templates/django_registration/activation_email_subject.txt new file mode 100644 index 0000000..ea275d2 --- /dev/null +++ b/design/templates/django_registration/activation_email_subject.txt @@ -0,0 +1 @@ +Please Activate Your Account diff --git a/design/templates/django_registration/registration_complete.html b/design/templates/django_registration/registration_complete.html new file mode 100644 index 0000000..e9d0610 --- /dev/null +++ b/design/templates/django_registration/registration_complete.html @@ -0,0 +1,7 @@ +{% extends 'base.html' %} +{% block content %} +
+

Thanks for signing up.

+

Please check your email for a link to confirm you new account. +

+{% endblock %} 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 %} +
+{% csrf_token %} +{{ form.non_field_errors }} +{% for field in form %} +
+{{field.label_tag}} +{{field}} +{% if field.label == "Password" %}Password should be 8 or more characters.{% endif %} +{% if field.errors %}{{field.errors}}{% endif %} +
+{% endfor %} +

+
+

Already have an account? Log in.

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