summaryrefslogtreecommitdiffstats
path: root/templates/cave_description.html
diff options
context:
space:
mode:
authormartin speleo <martin.speleo@gmail.com>2009-07-04 18:11:20 +0100
committermartin speleo <martin.speleo@gmail.com>2009-07-04 18:11:20 +0100
commit7fc1602f7ac3affcbbe8d1d015b42bdff585e61c (patch)
treeabaada77c8841314be78c87b5e8a18869b0e6053 /templates/cave_description.html
parentaa26690e33c793520be2d6d84c445ced8aba2a45 (diff)
downloadtroggle-7fc1602f7ac3affcbbe8d1d015b42bdff585e61c.tar.gz
troggle-7fc1602f7ac3affcbbe8d1d015b42bdff585e61c.tar.bz2
troggle-7fc1602f7ac3affcbbe8d1d015b42bdff585e61c.zip
[svn] Initial and poor attempt at a view for cave descriptions.
Diffstat (limited to 'templates/cave_description.html')
-rw-r--r--templates/cave_description.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/cave_description.html b/templates/cave_description.html
new file mode 100644
index 0000000..f41d9fd
--- /dev/null
+++ b/templates/cave_description.html
@@ -0,0 +1,20 @@
+{% extends "cavebase.html" %}
+{% load wiki_markup %}
+{% load mptt_tags %}
+{% block title %} {{cave_description.short_name}} {% endblock title %}
+{% block editLink %}<a href={{cave_description.get_admin_url}}>Edit description {{cave_description}}</a>{% endblock %}
+
+{% block contentheader %}
+ {{cave_description.long_name}}
+{% endblock contentheader %}
+
+
+
+{% block content %}
+
+<h1>{{cave_description.long_name}}</h1>
+<p>
+ {{cave_description.description|wiki_to_html}}
+</p>
+
+{% endblock content %} \ No newline at end of file