src/pyams_content/component/paragraph/interfaces/header.py
changeset 424 e59436858d4c
parent 420 edf9ce1b3f69
child 428 f22d6ae1d8f5
--- a/src/pyams_content/component/paragraph/interfaces/header.py	Fri Mar 02 13:41:27 2018 +0100
+++ b/src/pyams_content/component/paragraph/interfaces/header.py	Fri Mar 02 13:42:41 2018 +0100
@@ -31,6 +31,7 @@
 #
 
 HEADER_PARAGRAPH_TYPE = 'Header'
+HEADER_PARAGRAPH_RENDERERS = 'PyAMS.paragraph.header.renderer'
 
 
 class IHeaderParagraph(IRenderedContent, IBaseParagraph):
@@ -41,5 +42,5 @@
 
     renderer = Choice(title=_("Header template"),
                       description=_("Presentation template used for this header"),
-                      vocabulary='PyAMS header paragraph renderers',
+                      vocabulary=HEADER_PARAGRAPH_RENDERERS,
                       default='hidden')