summaryrefslogtreecommitdiffstats
path: root/templates/flatpage.html
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2011-06-02 19:16:16 +0100
committerMartin Green <martin.speleo@gmail.com>2011-06-02 19:16:16 +0100
commit50545af223eaee708cc465363247201123707bd3 (patch)
tree31dc3fd8ab20dba26e0276e7663c9597f1e50c4a /templates/flatpage.html
parentede9e4a9bdfe3cfc49f53afa7347850d31f0014d (diff)
downloadtroggle-50545af223eaee708cc465363247201123707bd3.tar.gz
troggle-50545af223eaee708cc465363247201123707bd3.tar.bz2
troggle-50545af223eaee708cc465363247201123707bd3.zip
Added editing of flat pages. Added slugfields to models to refer to them.
Diffstat (limited to 'templates/flatpage.html')
-rw-r--r--templates/flatpage.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/flatpage.html b/templates/flatpage.html
new file mode 100644
index 0000000..ef8c4ab
--- /dev/null
+++ b/templates/flatpage.html
@@ -0,0 +1,9 @@
+<html>
+<head>
+{{ head|safe }}
+</head>
+<body>
+{{ body|safe }}
+{% if editable %}<a href="{% url editflatpage path %}">Edit</a>{% endif %}
+</body>
+</html>