{% extends "cavebase.html" %}

{% block title %}Edit Entrance{% endblock %}
{% block extraheaders %}
{% include 'html_editor_scripts_css.html' %}
{% endblock %}
{% block content %}
<h1>Edit Entrance - at cave {{cave.official_name|safe}} - {{cave.kataster_number}}</h1>
{% include 'html_editor_pop_ups.html' %}
<h2>{{message}}</h2>
<form action="" method="post">{% csrf_token %}
    {% if entlettereditable %}
      <table>{{ entletter }}</table>
    {% else %}
      <table><tr><th>Entrance Letter</th><td>{{ entletter }}</td></table>
    {% endif %}
    <table>{{ form }}</table>
    {{ versionControlForm }}
    <p><input type="submit" value="Submit" /></p>
</form>

{% endblock %}
