From 753e83629f5b81c76551ec6110419c811fcab1cf Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Wed, 14 Feb 2024 22:16:52 +0100 Subject: [PATCH] fix --- rowers/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rowers/forms.py b/rowers/forms.py index bb29caa2..3376dc36 100644 --- a/rowers/forms.py +++ b/rowers/forms.py @@ -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)