Private
Public Access
1
0
This commit is contained in:
2024-01-22 21:12:21 +01:00
parent 7b84f659c5
commit 61089d4c2b
3 changed files with 13 additions and 9 deletions

View File

@@ -1111,6 +1111,7 @@ class PowerIntervalUpdateForm(forms.Form):
boattypes = mytypes.boattypes
ergtypes = mytypes.ergtypes
workouttypes = mytypes.workouttypes
ww = list(workouttypes)
ww.append(tuple(('all', 'All')))
@@ -1143,7 +1144,7 @@ class AnalysisOptionsForm(forms.Form):
modality = forms.ChoiceField(choices=workouttypes,
label='Workout Type',
initial='all')
waterboattype = forms.MultipleChoiceField(choices=boattypes,
waterboattype = forms.MultipleChoiceField(choices=boattypes+ergtypes,
label='Water Boat Type',
initial=mytypes.waterboattype)