diff options
author | bnewbold <bnewbold@robocracy.org> | 2011-05-07 15:11:11 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2011-05-07 15:11:11 -0400 |
commit | 647feb73a2c3cbcc30244a022da04f5be3aa3346 (patch) | |
tree | 9baad9d881cefcca4ca21f7713bceb06140b40a3 /piccast/templates | |
parent | 8d0cfc4a8107adf6c5f64ad8d03a0a30c92cc4c2 (diff) | |
download | piccast-647feb73a2c3cbcc30244a022da04f5be3aa3346.tar.gz piccast-647feb73a2c3cbcc30244a022da04f5be3aa3346.zip |
support contact form [WIP]
Diffstat (limited to 'piccast/templates')
4 files changed, 32 insertions, 0 deletions
diff --git a/piccast/templates/contact_form/contact_form.html b/piccast/templates/contact_form/contact_form.html new file mode 100644 index 0000000..2d886f0 --- /dev/null +++ b/piccast/templates/contact_form/contact_form.html @@ -0,0 +1,13 @@ +<html> +<head> +<title>PicCast</title> +</head> +<body> +<h1>Support Form</h1> +<form action="/support/" method="post"> +{{ form.as_p }} +<input type="submit" value="Submit" /> +</form> +</body> +</html> + diff --git a/piccast/templates/contact_form/contact_form.txt b/piccast/templates/contact_form/contact_form.txt new file mode 100644 index 0000000..d84a5be --- /dev/null +++ b/piccast/templates/contact_form/contact_form.txt @@ -0,0 +1,7 @@ + +From: {{name}} <{{ email }}> + +=============================================================================== +{{ body }} +=============================================================================== +(via http://piccastapp.com/contact/) diff --git a/piccast/templates/contact_form/contact_form_sent.html b/piccast/templates/contact_form/contact_form_sent.html new file mode 100644 index 0000000..908487a --- /dev/null +++ b/piccast/templates/contact_form/contact_form_sent.html @@ -0,0 +1,11 @@ +<html> +<head> +<title>PicCast</title> +</head> +<body> +<h1>Support Form</h1> +<p>Thanks for your message, we'll try to get back to you as soon as possible! +<p>You can return to the front page <a href="/">here</a>. +</body> +</html> + diff --git a/piccast/templates/contact_form/contact_form_subject.txt b/piccast/templates/contact_form/contact_form_subject.txt new file mode 100644 index 0000000..10c5937 --- /dev/null +++ b/piccast/templates/contact_form/contact_form_subject.txt @@ -0,0 +1 @@ +[PicCast] Contact message from {{ email }} |