diff options
author | Martin Green <martin.speleo@gmail.com> | 2011-08-08 12:18:47 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2011-08-08 12:18:47 +0100 |
commit | 3205e1752ca43f956da8a2b8d96dc1a1350d3022 (patch) | |
tree | 1cd694e086335d9c0e4c5f2ee643d2c022a22b2c /templates | |
parent | a0df539ca1db4ae3cf647c2755f4fe279a3b4a3c (diff) | |
download | troggle-3205e1752ca43f956da8a2b8d96dc1a1350d3022.tar.gz troggle-3205e1752ca43f956da8a2b8d96dc1a1350d3022.tar.bz2 troggle-3205e1752ca43f956da8a2b8d96dc1a1350d3022.zip |
Added 'page not found do you wnat to make this page' page. Minor tweaks
Diffstat (limited to 'templates')
-rw-r--r-- | templates/editflatpage.html | 2 | ||||
-rw-r--r-- | templates/pagenotfound.html | 7 |
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 %} |