Merged /branch/yaco/wgchairs.r3120/static/media:r3152-3153. Do not show the draft addoption form when editing stream. See #671.
- Legacy-Id: 3558
This commit is contained in:
parent
63dc422f43
commit
151bc01c25
|
@ -50,7 +50,7 @@ def stream_history(request, name):
|
|||
def _edit_draft_stream(request, draft, form_class=DraftTagsStateForm):
|
||||
user = request.user
|
||||
workflow = get_workflow_for_draft(draft)
|
||||
if not workflow:
|
||||
if not workflow and form_class == DraftTagsStateForm:
|
||||
form_class = NoWorkflowStateForm
|
||||
if request.method == 'POST':
|
||||
form = form_class(user=user, draft=draft, data=request.POST)
|
||||
|
|
Loading…
Reference in a new issue