diff options
author | martin speleo <martin.speleo@gmail.com> | 2009-07-04 18:11:20 +0100 |
---|---|---|
committer | martin speleo <martin.speleo@gmail.com> | 2009-07-04 18:11:20 +0100 |
commit | 7fc1602f7ac3affcbbe8d1d015b42bdff585e61c (patch) | |
tree | abaada77c8841314be78c87b5e8a18869b0e6053 /templates/cave_description.html | |
parent | aa26690e33c793520be2d6d84c445ced8aba2a45 (diff) | |
download | troggle-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.html | 20 |
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 |