fixing
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user