fix for notice on edit cave form

This commit is contained in:
Philip Sargent 2023-07-27 12:21:50 +03:00
parent d93133c338
commit 955fe9661a

View File

@ -1,7 +1,7 @@
{% extends "cavebase.html" %} {% extends "cavebase.html" %}
{% block title %} {% block title %}
{% if cave.official_name %} {% 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}}
{% else %} {% else %}
New Cave Creation Form New Cave Creation Form
@ -12,7 +12,7 @@ New Cave Creation Form
{% include 'html_editor_scripts_css.html' %} {% include 'html_editor_scripts_css.html' %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
{% if cave.official_name %} {% 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}}</h1>
<p>The fields on this form, two of which are vital, are documented explicitly on the page <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> <a href="/handbook/survey/caveentryfields.html">cave entry fields</a>