2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-11 11:02:17 +00:00
troggle/templates/editcave2.html
Sam Wenham 64a4842dcb Remove the redundant render_with_context() as django now does this just with the
render() shortcut
Move from mimetype to content_type, missed in last commit
2019-03-30 17:02:07 +00:00

20 lines
788 B
HTML

{% 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 %}