Private
Public Access
1
0
This commit is contained in:
2024-02-14 22:16:52 +01:00
parent 5829fe8900
commit 753e83629f

View File

@@ -413,7 +413,7 @@ class DocumentsForm(forms.Form):
label='Workout Type')
boattype = forms.ChoiceField(required=True,
choices=mytypes.boattypes,
choices=mytypes.boattypes+mytypes.ergtypes,
label="Boat Type")
rpe = forms.ChoiceField(required=False,
@@ -1168,7 +1168,7 @@ class StatsOptionsForm(forms.Form):
initial=False, label='Include Rest Strokes', required=False)
water = forms.BooleanField(initial=False, required=False)
waterboattype = forms.MultipleChoiceField(choices=boattypes,
waterboattype = forms.MultipleChoiceField(choices=boattypes+ergtypes,
label='Water Boat Type',
widget=forms.CheckboxSelectMultiple(),
initial=mytypes.waterboattype)