mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-01-18 22:52:56 +00:00
28 lines
1.0 KiB
HTML
28 lines
1.0 KiB
HTML
{% extends "cavebase.html" %}
|
|
{% block title %}Edit Cave - {{cave.official_name|safe}} - {{cave.kataster_number}}{% endblock %}
|
|
{% block extraheaders %}
|
|
{% include 'html_editor_scripts_css.html' %}
|
|
<script src="https://cdn.tiny.cloud/1/ib8fvyuhkhhdyt25zh35cbdo1gwvocm8w89e9vu3wf2107t4/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>
|
|
<script>
|
|
tinyMCE.init({
|
|
mode: "textareas",
|
|
plugins: "spellchecker,directionality,paste,searchreplace",
|
|
language: "{{ language }}",
|
|
directionality: "{{ directionality }}",
|
|
spellchecker_languages : "{{ spellchecker_languages }}",
|
|
spellchecker_rpc_url : "{{ spellchecker_rpc_url }}"
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<h1>Edit Cave - {{cave.official_name|safe}} - {{cave.kataster_number}}</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 %}
|