New year, new expo: bugs for auto-creating new expo

This commit is contained in:
2026-01-27 15:41:47 +00:00
parent c898055cc6
commit 5ffdf0c055
6 changed files with 38 additions and 11 deletions

View File

@@ -350,8 +350,8 @@ class NewProspectForm(forms.Form):
max_length=20,
widget=forms.TextInput(attrs={
"placeholder": "2025-AB-01",
"size": 10,
"style": "width: 10ch; min-width: 0;"
"size": 11,
"style": "width: 11ch; min-width: 0;"
})
)
discovery_name = forms.CharField(
@@ -394,6 +394,26 @@ class NewProspectForm(forms.Form):
"style": "width: 20ch; min-width: 0;"
})
)
entrance_description = forms.CharField(
label="Entrance description",
max_length=100,
required=True,
widget=forms.TextInput(attrs={
"placeholder": "horizontal slot at foot level in 3m high NE-facing cliff",
"size": 100,
"style": "width: 100ch; min-width: 0;"
})
)
approach = forms.CharField(
label="Approach",
max_length=100,
required=True,
widget=forms.TextInput(attrs={
"placeholder": "from top camp, go NE round the side of Augst Eck, in some trees",
"size": 100,
"style": "width: 100ch; min-width: 0;"
})
)
who_are_you = forms.CharField(
label="Who are you",
max_length=100,