{% extends "cavebase.html" %}
{% load csrffaker %} 
{% block title %}Edit Cave{% endblock %}
{% block extraheaders %}

<link rel="stylesheet" href="{{ settings.JSLIB_URL }}jquery-ui/css/lightness/jquery-ui.css" type="text/css" media="all" />
<script src="{{ settings.JSLIB_URL }}jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="{{ settings.MEDIA_URL }}js/jquery.formset.min.js" type="text/javascript"></script>
<!--<script src="{{ settings.TINY_MCE_MEDIA_URL }}tiny_mce.js" type="text/javascript"></script>-->
{% endblock %}
{% block content %}
<h1>Edit Cave</h1>
<form action="" method="post">{% csrf_token %}
    <table>{{ form }}{{caveAndEntranceFormSet}}</table>
    {{ versionControlForm }}
    <p><input type="submit" value="Submit" /></p>
</form>

{% endblock %}
