From bb3973ffb714c932e9ec6dd6a751228dc71fe1d3 Mon Sep 17 00:00:00 2001 From: lxf Date: Sat, 14 May 2022 16:38:07 -0400 Subject: initial commit --- .../contact/templates/contact/contact_form.html | 28 ++++++++++++++++++++++ app/lib/contact/templates/contact/contact_form.txt | 0 .../templates/contact/contact_form_sent.html | 14 +++++++++++ .../templates/contact/contact_form_subject.txt | 1 + 4 files changed, 43 insertions(+) create mode 100644 app/lib/contact/templates/contact/contact_form.html create mode 100644 app/lib/contact/templates/contact/contact_form.txt create mode 100644 app/lib/contact/templates/contact/contact_form_sent.html create mode 100644 app/lib/contact/templates/contact/contact_form_subject.txt (limited to 'app/lib/contact/templates') diff --git a/app/lib/contact/templates/contact/contact_form.html b/app/lib/contact/templates/contact/contact_form.html new file mode 100644 index 0000000..1be2c27 --- /dev/null +++ b/app/lib/contact/templates/contact/contact_form.html @@ -0,0 +1,28 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% load html5_datetime %} +{%block bodyid%}id="{{object.title|slugify}}"{%endblock%} +{% block breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{% endblock %} +{% block primary %} +
+
+

Contact Information

+

Want to know more about private tutoring or group classes? Email me: corrinne@cumuluslearning.net

+ +

Or you can use the form below to get in touch.

+
{% csrf_token %} + {% for field in form %} +
+ {{field.label_tag}} + {%if field.name == "body"%}
{{ field }}
{%else%}{{field}}{%endif%} +
+ {% if forloop.last %}{%endif%} + {% if field.errors %}{{field.errors}}{% endif %} + {%endfor%} +
+
+
+ +{% endblock %} + +{{body}} diff --git a/app/lib/contact/templates/contact/contact_form.txt b/app/lib/contact/templates/contact/contact_form.txt new file mode 100644 index 0000000..e69de29 diff --git a/app/lib/contact/templates/contact/contact_form_sent.html b/app/lib/contact/templates/contact/contact_form_sent.html new file mode 100644 index 0000000..668224e --- /dev/null +++ b/app/lib/contact/templates/contact/contact_form_sent.html @@ -0,0 +1,14 @@ +{% extends 'base.html' %} +{% load typogrify_tags %} +{% load html5_datetime %} +{% block primary %} +
+
+

Thank You

+

I'll get back to you very soon.

+
+
+ +{% endblock %} + +{{body}} diff --git a/app/lib/contact/templates/contact/contact_form_subject.txt b/app/lib/contact/templates/contact/contact_form_subject.txt new file mode 100644 index 0000000..498c81f --- /dev/null +++ b/app/lib/contact/templates/contact/contact_form_subject.txt @@ -0,0 +1 @@ +[Cumulus Learning] -- cgit v1.2.3