workflows: attach workflow form identifier to the form object (#22603)
This commit is contained in:
parent
c7742a156f
commit
6b001ecd5e
|
@ -149,6 +149,10 @@ class FormWorkflowStatusItem(WorkflowStatusItem):
|
|||
self.formdef.add_fields_to_form(form)
|
||||
form.add_submit('submit', _('Submit'))
|
||||
|
||||
# put varname in a form attribute so it can be used in templates to
|
||||
# identify the form.
|
||||
form.varname = self.varname
|
||||
|
||||
formdata.feed_session()
|
||||
|
||||
req = get_request()
|
||||
|
|
Loading…
Reference in New Issue