diff --git a/rowers/forms.py b/rowers/forms.py index 3cafb247..8dce9f6d 100644 --- a/rowers/forms.py +++ b/rowers/forms.py @@ -1265,6 +1265,25 @@ class ForceCurveMultipleCompareForm(forms.Form): widget=forms.CheckboxSelectMultiple() ) +bulkactions = ( + ('remove','remove'), + ('export','export'), +) +destinations = ( + ('C2','C2'), + ('strava','strava'), + ('sporttracks','sporttracks'), + ('trainingpeaks','trainingpeaks') +) + +class WorkoutBulkActions(forms.Form): + action = forms.ChoiceField( + choices=bulkactions, label='Action', required=True, initial='remove') + +class ExportChoices(forms.Form): + destination = forms.ChoiceField( + choices=destinations, label='Destination', required=False, initial='strava' + ) class WorkoutMultipleCompareForm(forms.Form): workouts = forms.ModelMultipleChoiceField( diff --git a/rowers/templates/list_workouts.html b/rowers/templates/list_workouts.html index 283c8755..beeafdad 100644 --- a/rowers/templates/list_workouts.html +++ b/rowers/templates/list_workouts.html @@ -97,10 +97,7 @@