alternative panel config form
This commit is contained in:
@@ -11,6 +11,7 @@ from django.forms import ModelForm
|
||||
import dataprep
|
||||
import types
|
||||
import datetime
|
||||
from django.forms import formset_factory
|
||||
|
||||
# login form
|
||||
class LoginForm(forms.Form):
|
||||
@@ -128,6 +129,25 @@ class WorkFlowMiddlePanelForm(forms.Form):
|
||||
panels = defaultmiddle
|
||||
|
||||
super(WorkFlowMiddlePanelForm,self).__init__(*args, **kwargs)
|
||||
|
||||
class WorkFlowLeftPanelElement(forms.Form):
|
||||
panelchoices = tuple(list(workflowleftpanel)+[(None,'None')])
|
||||
|
||||
panel = forms.ChoiceField(
|
||||
label='',
|
||||
choices=panelchoices,
|
||||
initial=None,
|
||||
)
|
||||
|
||||
class WorkFlowMiddlePanelElement(forms.Form):
|
||||
panelchoices = tuple(list(workflowmiddlepanel)+[(None,'None')])
|
||||
|
||||
panel = forms.ChoiceField(
|
||||
label='',
|
||||
choices=panelchoices,
|
||||
initial=None,
|
||||
)
|
||||
|
||||
|
||||
# The form to indicate additional actions to be performed immediately
|
||||
# after a successful upload
|
||||
|
||||
Reference in New Issue
Block a user