From 54f496a446f4b695571474b669e7268f3e13eea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 16 Nov 2016 13:26:28 +0100 Subject: [PATCH] workflows: add an id to the action form (#13990) --- wcs/workflows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcs/workflows.py b/wcs/workflows.py index ff015b8..2fad2ba 100644 --- a/wcs/workflows.py +++ b/wcs/workflows.py @@ -1300,7 +1300,8 @@ class WorkflowStatus(object): raise KeyError() def get_action_form(self, filled, user): - form = Form(enctype='multipart/form-data', use_tokens = False) + form = Form(enctype='multipart/form-data', use_tokens=False) + form.attrs['id'] = 'wf-actions' for item in self.items: if not item.check_auth(filled, user): continue -- 2.10.2