{% extends "cavebase.html" %}
{% block title %}Edit Cave - {{cave.official_name|safe}} - {{cave.kataster_number}}{% endblock %}
{% block extraheaders %}
{% include 'html_editor_scripts_css.html' %}
{% endblock %}
{% block content %}
<h1>Edit Cave - {{cave.official_name|safe}} {{cave.reference}}</h1>
{% include 'html_editor_pop_ups.html' %}
<h2>{{message}}</h2>
<form action="" method="post">{% csrf_token %}
    <table>{{ form }}{{caveAndEntranceFormSet}}</table>
    {{ versionControlForm }}
    <p><input type="submit" value="Submit" /></p>
</form>

{% endblock %}
