mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 16:17:21 +00:00
fixed many problems in creating new entrances
This commit is contained in:
@@ -210,7 +210,7 @@ class EntranceLetterForm(ModelForm):
|
||||
"""
|
||||
|
||||
# This only needs to be required=True for the second and subsequent entrances, not the first. Tricky.
|
||||
entranceletter = forms.CharField(required=True, widget=forms.TextInput(attrs={"size": "2"}))
|
||||
entranceletter = forms.CharField(required=False, widget=forms.TextInput(attrs={"size": "2"}))
|
||||
|
||||
class Meta:
|
||||
model = CaveAndEntrance
|
||||
|
||||
Reference in New Issue
Block a user