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

fixing undescended caves thinggy

This commit is contained in:
2025-07-28 22:16:50 +02:00
parent 5f2791816d
commit 51c9fe8839
4 changed files with 17 additions and 8 deletions

View File

@@ -17,6 +17,7 @@ the form documented at
<cave>
<non_public>{{ cave.non_public }}</non_public>
<unexplored>{{ cave.unexplored }}</unexplored>
<official_name>{{ cave.official_name|default_if_none:""|safe }}</official_name>
<area>{{cave.areacode |safe }}</area>

View File

@@ -2,7 +2,10 @@
{% block title %}
{% if cave.official_name or cave.kataster_number or cave.unofficial_number %}
Edit Cave - {{cave.official_name|safe}} - {{cave.kataster_number}}
Edit Cave - {{cave.official_name|safe}} - {{cave.kataster_number}}
{% if cave.unofficial_number %}
{{cave.unofficial_number|safe}}
{% endif %}
{% else %}
New Cave Creation Form
{% endif %}
@@ -13,7 +16,11 @@ New Cave Creation Form
{% endblock %}
{% block content %}
{% if cave.official_name or cave.kataster_number or cave.unofficial_number %}
<h1>Edit Cave - {{cave.official_name|safe}} {{cave.reference}}</h1>
<h1>Edit Cave - {{cave.official_name|safe}} {{cave.reference}}
{% if cave.unofficial_number %}
{{cave.unofficial_number|safe}}
{% endif %}
</h1>
<p>The fields on this form, two of which are vital, are documented explicitly on the page
<a href="/handbook/survey/caveentryfields.html">cave entry fields</a>
and these same fields appear in the alternative file upload process as described in