misc: fix formdef label for card actions

This commit is contained in:
Lauréline Guérin 2020-12-07 14:35:34 +01:00 committed by Frédéric Péters
parent fdebcb6aae
commit 56b010ff16
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ class CreateFormdataWorkflowStatusItem(WorkflowStatusItem):
list_forms += [(x.url_name, x.name, x.url_name) for x in self.formdef_class.select(order_by='name')
if not x.disabled or x.url_name == self.formdef_slug]
form.add(SingleSelectWidget, '%sformdef_slug' % prefix,
title=_('Form'),
title=_(self.formdef_label),
value=self.formdef_slug,
options=list_forms)
if 'draft' in parameters: