Added 'page not found do you wnat to make this page' page. Minor tweaks

This commit is contained in:
Martin Green
2011-08-08 12:18:47 +01:00
parent c09a668620
commit 36b1888f46
3 changed files with 34 additions and 21 deletions

View File

@@ -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 %}

View File

@@ -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 %}