summaryrefslogtreecommitdiffstats
path: root/templates/caveindex.html
blob: b743d6c680fd188f112e3816564d04f914b53b36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "base.html" %}
{% load wiki_markup %}

{% block title %}Cave Index{% endblock %}

{% block content %}

<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}
  <li> <a href="{{ cave.get_absolute_url }}">{{cave.official_name|wiki_to_html_short}} ({{cave}})</a> </li>
{% endfor %}
</ul>

<h3>All caves</h3>

	<form method="get">
		<div>
			<input type="text" value="" name="q" id="q" />
		</div> 
	</form>

<ul id="posts">
{% for cave in caves %}
  <li> <a href="{{ cave.get_absolute_url }}">{{cave.official_name|wiki_to_html_short}} ({{cave}})</a> </li>
{% endfor %}
</ul>

{% endblock %}