{% extends "cavebase.html" %}

{% block content %}
{% block contentheader %}
<table id="cavepage">
<tr>
    <th id="kat_no">
        {% if cave.kataster_number %}
            {{ cave.kataster_number|safe }}
            {% if cave.entrancelist %}
                - {{ cave.entrancelist|safe }}
            {% endif %}
            {% if cave.unofficial_number %}
                <br />({{ cave.unofficial_number|safe }})
            {% endif %}
        {% endif %}
    </th>
    <th id="name">
         {{ cave.official_name|safe }}
    </th>
    <th id="status">
         {{ cave.kataster_code|safe }}
    </th>
</tr>
</table>
{% block related %}
{% endblock %}{% endblock %}

<div id="tabs">
	<ul>
		<li><a href="/cave/description/{{cave.slug}}">Description</a></li>
		<li><a href="/cave/entrance/{{cave.slug}}">Entrances</a></li>
		<li><a href="/cave/logbook/{{cave.slug}}">Logbook</a></li>
		<li><a href="/cave/qms/{{cave.slug}}">QMs</a></li>
	</ul>
	<div id="qms">

	</div>
</div>


{% endblock %}