Split up tags such that they use ajax

This commit is contained in:
Martin Green
2011-07-11 00:50:07 +01:00
parent 65c55f0f21
commit 5d8a5494cd
7 changed files with 116 additions and 90 deletions

View File

@@ -0,0 +1,12 @@
<div id="entrances">
<p>{% if cave.entrances %}
<h2>Entrances</h2>
{% for ent in cave.entrances %}
<a href = "./{{ ent.entrance_letter|safe }}">{{ ent.entrance_letter|safe }}</a>
{% if ent.entrance.marking %}
Marking: {{ ent.entrance.marking_val|safe }}
{% endif %}
<br>
{% endfor %}
{% endif %}</p>
</div>