summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2011-08-08 12:18:47 +0100
committerMartin Green <martin.speleo@gmail.com>2011-08-08 12:18:47 +0100
commit36b1888f468d5837d117e52920ece4d364a569b8 (patch)
treee86fca2c502b65c30a9c74f644f240d2dde95e95 /templates
parentc09a668620e654d81f9e80b8a3c82d30b82aa26b (diff)
downloadtroggle-36b1888f468d5837d117e52920ece4d364a569b8.tar.gz
troggle-36b1888f468d5837d117e52920ece4d364a569b8.tar.bz2
troggle-36b1888f468d5837d117e52920ece4d364a569b8.zip
Added 'page not found do you wnat to make this page' page. Minor tweaks
Diffstat (limited to 'templates')
-rw-r--r--templates/editflatpage.html2
-rw-r--r--templates/pagenotfound.html7
2 files changed, 8 insertions, 1 deletions
diff --git a/templates/editflatpage.html b/templates/editflatpage.html
index 547b94d..4768078 100644
--- a/templates/editflatpage.html
+++ b/templates/editflatpage.html
@@ -9,6 +9,6 @@
<form action="" method="post">{% csrf_token %}
{{form.as_p}}
<p><input type="submit" value="Submit" /></p>
-{% include "menu.html" %}
</form>
+{% include "menu.html" %}
{% endblock %}
diff --git a/templates/pagenotfound.html b/templates/pagenotfound.html
new file mode 100644
index 0000000..03569de
--- /dev/null
+++ b/templates/pagenotfound.html
@@ -0,0 +1,7 @@
+{% extends "expobase.html" %}
+{% block title %}Page not found {{ path }}{% endblock %}
+{% block body %}
+<h1>Page not found {{ path }}</h1>
+<a href="{%url editflatpage path %}">Create this page.</a>
+{% include "menu.html" %}
+{% endblock %}