--- a/src/pyams_content/shared/common/zmi/types.py Mon May 13 16:08:34 2019 +0200
+++ b/src/pyams_content/shared/common/zmi/types.py Mon May 13 17:31:02 2019 +0200
@@ -579,10 +579,12 @@
class TypedSharedContentPropertiesEditForm(SharedContentPropertiesEditForm):
"""Typed shared content properties edit form"""
+ interface = IWfTypedSharedContent
+
@property
def fields(self):
- fields = field.Fields(IWfTypedSharedContent).select('title', 'short_name', 'content_url',
- 'data_type', 'header', 'description', 'notepad')
+ fields = field.Fields(self.interface).select('title', 'short_name', 'content_url',
+ 'data_type', 'header', 'description', 'notepad')
fields['title'].widgetFactory = I18nSEOTextLineFieldWidget
if not self.context.handle_content_url:
fields = fields.omit('content_url')