Private
Public Access
1
0

more options for left panel

This commit is contained in:
Sander Roosendaal
2017-10-18 16:16:55 +02:00
parent 13dee6305d
commit b14a47d22c
13 changed files with 74 additions and 24 deletions

View File

@@ -58,10 +58,11 @@ class DocumentsForm(forms.Form):
class Meta:
fields = ['title','file','workouttype','fileformat']
from utils import workflowleftpanel,workflowmiddlepanel
from utils import (
workflowleftpanel,workflowmiddlepanel,
defaultleft,defaultmiddle
)
defaultleft = [p[0] for p in workflowleftpanel]
defaultmiddle = [p[0] for p in workflowmiddlepanel]
# Form to change Workflow page layout
class WorkFlowLeftPanelForm(forms.Form):