src/pyams_content/component/paragraph/interfaces/milestone.py
changeset 1125 7f0cb6e407fc
parent 1094 465b273c312b
child 1353 5940373ec65c
--- a/src/pyams_content/component/paragraph/interfaces/milestone.py	Tue Nov 27 15:35:22 2018 +0100
+++ b/src/pyams_content/component/paragraph/interfaces/milestone.py	Tue Nov 27 15:35:58 2018 +0100
@@ -17,7 +17,7 @@
 from zope.interface import Attribute, Interface
 from zope.schema import Bool, Choice
 
-from pyams_content.component.paragraph import IBaseParagraph
+from pyams_content.component.paragraph import CONTENT_PARAGRAPHS_VOCABULARY, IBaseParagraph
 from pyams_content.interfaces.container import IOrderedContainer
 from pyams_i18n.schema import I18nTextField, I18nTextLineField
 
@@ -47,7 +47,7 @@
 
     anchor = Choice(title=_("Anchor"),
                     description=_("Paragraph to which this milestone should lead"),
-                    vocabulary='PyAMS content paragraphs',
+                    vocabulary=CONTENT_PARAGRAPHS_VOCABULARY,
                     required=False)
 
     target = Attribute("Anchor target")