initial
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
from rowers.utils import rankingdistances, rankingdurations
|
||||
from rowers.utils import (
|
||||
workflowleftpanel, workflowmiddlepanel,
|
||||
defaultleft, defaultmiddle
|
||||
defaultleft, defaultmiddle,
|
||||
workout_name_element,
|
||||
)
|
||||
from rowers.utils import palettes
|
||||
from time import strftime
|
||||
@@ -497,6 +498,15 @@ class WorkFlowMiddlePanelElement(forms.Form):
|
||||
initial='None',
|
||||
)
|
||||
|
||||
class WorkoutNameTemplateElement(forms.Form):
|
||||
templatechoices = tuple(list(workout_name_element)+[('None', 'None')])
|
||||
|
||||
element = forms.ChoiceField(
|
||||
label='',
|
||||
choices=templatechoices,
|
||||
initial='None'
|
||||
)
|
||||
|
||||
|
||||
# The form to indicate additional actions to be performed immediately
|
||||
# after a successful upload
|
||||
|
||||
Reference in New Issue
Block a user