aboutsummaryrefslogtreecommitdiff
path: root/templates/contact/form.html
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2012-12-04 16:06:00 -0500
committerMike Crute <mcrute@gmail.com>2012-12-11 15:27:46 -0500
commitab626f31a0645d87560d242a20dd60e01b3d3b46 (patch)
treefbeac460e4b4182d0ee4178e5add369bbca76944 /templates/contact/form.html
parentfc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2 (diff)
downloaddjango-precompiler-ab626f31a0645d87560d242a20dd60e01b3d3b46.tar.bz2
django-precompiler-ab626f31a0645d87560d242a20dd60e01b3d3b46.tar.xz
django-precompiler-ab626f31a0645d87560d242a20dd60e01b3d3b46.zip
Brief diversion into template inheritance
Diffstat (limited to 'templates/contact/form.html')
-rw-r--r--templates/contact/form.html29
1 files changed, 12 insertions, 17 deletions
diff --git a/templates/contact/form.html b/templates/contact/form.html
index 7ada5e0..27b68f0 100644
--- a/templates/contact/form.html
+++ b/templates/contact/form.html
@@ -1,17 +1,12 @@
1<!DOCTYPE html> 1{% extends "base.html" %}
2<html> 2
3 <head> 3{% block title %}Contact Us{% endblock %}
4 <meta charset="utf-8"> 4
5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 5{% block content %}
6 <title>Contact Us</title> 6<h1>Contact Us</h1>
7 <meta name="viewport" content="width=device-width"> 7<form action="{% url 'contact:thanks' %}" method="post">
8 </head> 8 {% csrf_token %}
9 <body> 9 {{ form.as_p }}
10 <h1>Contact Us</h1> 10 <button type="submit">Contact Us</button>
11 <form action="{% url 'contact:thanks' %}" method="post"> 11</form>
12 {% csrf_token %} 12{% endblock %}
13 {{ form.as_p }}
14 <button type="submit">Contact Us</button>
15 </form>
16 </body>
17</html>