2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 11:39:49 +00:00

Fixed errors when creating new caves and entrances via the website. Moved slug logic to forms (previously checked in). This allows slug uniqueness to be validated in the form

This commit is contained in:
Martin Green
2023-04-30 19:05:57 +01:00
parent 941100a8a3
commit 10ff8a5aab
3 changed files with 36 additions and 37 deletions

View File

@@ -8,7 +8,8 @@
{% include 'html_editor_pop_ups.html' %}
<h2>{{message}}</h2>
<form action="" method="post">{% csrf_token %}
<table>{{ form }}<!-- begin caveAndEntranceFormSet-->{{caveAndEntranceFormSet}}<!--end caveAndEntranceFormSet--></table>
<table>{{ form }}
<!-- begin caveAndEntranceFormSet-->{{caveAndEntranceFormSet}}<!--end caveAndEntranceFormSet--></table>
<p><input type="submit" value="Submit" /></p>
</form>