From 955fe9661a4894d8999c85871e55627dddb5d60c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 27 Jul 2023 12:21:50 +0300 Subject: [PATCH] fix for notice on edit cave form --- templates/editcave.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/editcave.html b/templates/editcave.html index 099eb42..bc3514d 100644 --- a/templates/editcave.html +++ b/templates/editcave.html @@ -1,7 +1,7 @@ {% extends "cavebase.html" %} {% 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}} {% else %} New Cave Creation Form @@ -12,7 +12,7 @@ New Cave Creation Form {% include 'html_editor_scripts_css.html' %} {% endblock %} {% block content %} -{% if cave.official_name %} +{% if cave.official_name or cave.kataster_number or cave.unofficial_number %}

Edit Cave - {{cave.official_name|safe}} {{cave.reference}}

The fields on this form, two of which are vital, are documented explicitly on the page cave entry fields