mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 00:31:55 +00:00
Removing cave field underground_centre_line
This commit is contained in:
parent
026d959aeb
commit
688a1795e7
@ -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' ]
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user