summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/forms.py10
-rw-r--r--templates/cave.html3
2 files changed, 8 insertions, 5 deletions
diff --git a/core/forms.py b/core/forms.py
index af3b171..05b982a 100644
--- a/core/forms.py
+++ b/core/forms.py
@@ -67,10 +67,10 @@ class CaveForm(ModelForm):
label = "Kataster code, see below",
widget=forms.TextInput(attrs={"placeholder": "see example below"})
)
- underground_centre_line = forms.CharField(
- required=False,
- widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Enter page content (using HTML)"}),
- )
+ # underground_centre_line = forms.CharField(
+ # required=False,
+ # widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Enter page content (using HTML)"}),
+ # )
notes = forms.CharField(
required=False,
widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Enter page content (using HTML)"}),
@@ -92,7 +92,7 @@ class CaveForm(ModelForm):
class Meta:
model = Cave
- exclude = ("filename","url")
+ exclude = ("filename","url", "underground_centre_line")
field_order = ['unofficial_number', 'kataster_number', 'official_name', 'underground_description', 'survey', 'underground_centre_line', 'explorers', 'equipment', 'notes', 'references', 'description_file', 'survex_file', 'areacode', 'length', 'depth', 'extent',
'kataster_code', 'kataster_status' ]
diff --git a/templates/cave.html b/templates/cave.html
index 746c257..81357a1 100644
--- a/templates/cave.html
+++ b/templates/cave.html
@@ -97,12 +97,15 @@
{{ cave.kataster_status|safe }}
{% endif %}
{% endcomment %}
+<!--
{% comment "Is this underground centre line section ever usefull? I suspect it should be deleted. MJG" %}
+Nope, it is not useful, removing it... Philip S.
{% endcomment %}
{% if cave.underground_centre_line %}
<h2>Underground Centre Line</h2>
{{ cave.underground_centre_line|safe }}
{% endif %}
+-->
{% if cave.explorers %}
<h2>Explorers</h2>
{{ cave.explorers|safe }}