--- a/src/pyams_content/component/paragraph/interfaces/milestone.py Wed Nov 14 17:29:40 2018 +0100
+++ b/src/pyams_content/component/paragraph/interfaces/milestone.py Thu Nov 15 14:03:07 2018 +0100
@@ -12,20 +12,17 @@
__docformat__ = 'restructuredtext'
-
-# import standard library
-
from zope.annotation.interfaces import IAttributeAnnotatable
from zope.container.constraints import containers, contains
from zope.interface import Interface
from zope.schema import Bool, Choice
-from pyams_content import _
-# import interfaces
from pyams_content.component.paragraph import IBaseParagraph
from pyams_content.interfaces.container import IOrderedContainer
-# import packages
-from pyams_i18n.schema import I18nTextLineField, I18nTextField
+from pyams_i18n.schema import I18nTextField, I18nTextLineField
+
+from pyams_content import _
+
MILESTONE_CONTAINER_KEY = 'pyams_content.milestones'
@@ -44,9 +41,9 @@
description=_("Milestone title"),
required=True)
- label = I18nTextLineField(title=_("Associated label"),
- description=_("The way this label will be rendered depends on presentation template"),
- required=False)
+ label = I18nTextField(title=_("Associated label"),
+ description=_("The way this label will be rendered depends on presentation template"),
+ required=False)
anchor = Choice(title=_("Anchor"),
description=_("Paragraph to which this milestone should lead"),