diff options
Diffstat (limited to 'app/lib/contact/templates/contact/contact_form.html')
-rw-r--r-- | app/lib/contact/templates/contact/contact_form.html | 28 |
1 files changed, 28 insertions, 0 deletions
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 %} +<main role="main" class="archive-wrapper"> + <div class="archive-intro"> + <h2 class="archive-hed">Contact Information</h2> + <p>Want to know more about private tutoring or group classes? Email me: <a href="mailto:corrinne@cumuluslearning.net">corrinne@cumuluslearning.net</a></p> + + <p>Or you can use the form below to get in touch.</p> + <form action="" method="post" class="comment-form contact-form card-subscribe">{% csrf_token %} + {% for field in form %} + <fieldset> + {{field.label_tag}} + {%if field.name == "body"%}<div class="textarea-rounded">{{ field }}</div>{%else%}{{field}}{%endif%} + </fieldset> + {% if forloop.last %}<input type="submit" name="post" class="btn" value="Send" />{%endif%} + <small class="alert">{% if field.errors %}{{field.errors}}{% endif %}</small> + {%endfor%} + </form> + </div> + </main> +</main> +{% endblock %} + +{{body}} |