--- a/src/pyams_content/shared/form/interfaces.py Mon Jul 15 16:52:34 2019 +0200
+++ b/src/pyams_content/shared/form/interfaces.py Mon Jul 15 17:55:23 2019 +0200
@@ -10,24 +10,22 @@
# FOR A PARTICULAR PURPOSE.
#
-__docformat__ = 'restructuredtext'
-
-
-# import standard library
-
from zope.annotation.interfaces import IAttributeAnnotatable
from zope.container.constraints import containers, contains
-from zope.container.interfaces import IContainer, IContained
-from zope.interface import Interface, Attribute
-from zope.schema import TextLine, Choice, Bool
+from zope.container.interfaces import IContained, IContainer
+from zope.interface import Attribute, Interface
+from zope.schema import Bool, Choice, TextLine
+
+from pyams_content.shared.common.interfaces import ISharedContent, ISharedToolPortalContext, \
+ IWfSharedContentPortalContext
+from pyams_i18n.schema import I18nTextField, I18nTextLineField
+from pyams_utils.schema import MailAddressField, TextLineListField
+
+
+__docformat__ = 'restructuredtext'
from pyams_content import _
-# import interfaces
-from pyams_content.shared.common.interfaces import ISharedContent, IWfSharedContentPortalContext, \
- ISharedToolPortalContext
-# import packages
-from pyams_i18n.schema import I18nTextLineField, I18nTextField
-from pyams_utils.schema import MailAddressField, TextLineListField
+
FORM_CONTENT_TYPE = 'form'
FORM_CONTENT_NAME = _('Form')
@@ -43,7 +41,7 @@
"""Forms manager factory interface"""
-class IFormField(IContained):
+class IFormField(IContained, IAttributeAnnotatable):
"""Form field interface"""
containers('.IFormFieldContainer')