Add support for form media to DynamicFormMixin
Fix tag attach and remove action form media. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -78,7 +78,8 @@ class WorkflowAction(six.with_metaclass(WorkflowActionMetaclass, WorkflowActionB
|
||||
def get_form_schema(self, request=None):
|
||||
result = {
|
||||
'fields': self.fields or (),
|
||||
'widgets': getattr(self, 'widgets', {})
|
||||
'media': getattr(self, 'media', {}),
|
||||
'widgets': getattr(self, 'widgets', {}),
|
||||
}
|
||||
|
||||
if hasattr(self, 'field_order'):
|
||||
|
||||
Reference in New Issue
Block a user