somewhat working form config2
This commit is contained in:
@@ -131,21 +131,21 @@ class WorkFlowMiddlePanelForm(forms.Form):
|
||||
super(WorkFlowMiddlePanelForm,self).__init__(*args, **kwargs)
|
||||
|
||||
class WorkFlowLeftPanelElement(forms.Form):
|
||||
panelchoices = tuple(list(workflowleftpanel)+[(None,'None')])
|
||||
panelchoices = tuple(list(workflowleftpanel)+[('None','None')])
|
||||
|
||||
panel = forms.ChoiceField(
|
||||
label='',
|
||||
choices=panelchoices,
|
||||
initial=None,
|
||||
initial='None',
|
||||
)
|
||||
|
||||
class WorkFlowMiddlePanelElement(forms.Form):
|
||||
panelchoices = tuple(list(workflowmiddlepanel)+[(None,'None')])
|
||||
panelchoices = tuple(list(workflowmiddlepanel)+[('None','None')])
|
||||
|
||||
panel = forms.ChoiceField(
|
||||
label='',
|
||||
choices=panelchoices,
|
||||
initial=None,
|
||||
initial='None',
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user