modality and boat type selection working on multiflex
This commit is contained in:
@@ -265,11 +265,15 @@ class IntervalUpdateForm(forms.Form):
|
||||
|
||||
boattypes = types.boattypes
|
||||
workouttypes = types.workouttypes
|
||||
ww = list(workouttypes)
|
||||
ww.append(tuple(('all','All')))
|
||||
workouttypes = tuple(ww)
|
||||
|
||||
# form to select modality and boat type for trend flex
|
||||
class TrendFlexModalForm(forms.Form):
|
||||
modality = forms.ChoiceField(choices=workouttypes,
|
||||
label='Workout Type')
|
||||
label='Workout Type',
|
||||
initial='all')
|
||||
waterboattype = forms.MultipleChoiceField(choices=boattypes,
|
||||
label='Water Boat Type',
|
||||
initial = ['1x','2x','2-','4x','4-','8+'])
|
||||
|
||||
Reference in New Issue
Block a user