src/pyams_content/component/paragraph/interfaces/contact.py
changeset 423 7dd6cb55f5c7
parent 419 824fef808845
child 428 f22d6ae1d8f5
--- a/src/pyams_content/component/paragraph/interfaces/contact.py	Fri Mar 02 13:36:35 2018 +0100
+++ b/src/pyams_content/component/paragraph/interfaces/contact.py	Fri Mar 02 13:41:27 2018 +0100
@@ -32,6 +32,7 @@
 #
 
 CONTACT_PARAGRAPH_TYPE = 'Contact'
+CONTACT_PARAGRAPH_RENDERERS = 'PyAMS.paragraph.contact.renderer'
 
 
 class IContactParagraph(IRenderedContent, IBaseParagraph):
@@ -58,5 +59,5 @@
 
     renderer = Choice(title=_("Contact template"),
                       description=_("Presentation template used for this contact"),
-                      vocabulary='PyAMS contact paragraph renderers',
+                      vocabulary=CONTACT_PARAGRAPH_RENDERERS,
                       default='hidden')