src/pyams_content/component/association/zmi/paragraph.py
changeset 407 0ef5de2d5674
parent 406 5527bc086216
child 414 d9e20a99ce01
--- a/src/pyams_content/component/association/zmi/paragraph.py	Thu Feb 22 12:00:05 2018 +0100
+++ b/src/pyams_content/component/association/zmi/paragraph.py	Thu Feb 22 15:58:28 2018 +0100
@@ -17,7 +17,7 @@
 
 # import interfaces
 from pyams_content.component.association.interfaces import IAssociationParagraph, IAssociationContainer, \
-    IAssociationInfo
+    IAssociationInfo, ASSOCIATION_PARAGRAPH_TYPE
 from pyams_content.component.association.zmi.interfaces import IAssociationsParentForm
 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
     IParagraphPreview
@@ -55,7 +55,7 @@
     label = _("Add associations paragraph...")
     label_css_class = 'fa fa-fw fa-link'
     url = 'add-association-paragraph.html'
-    paragraph_type = 'Associations'
+    paragraph_type = ASSOCIATION_PARAGRAPH_TYPE
 
 
 @pagelet_config(name='add-association-paragraph.html', context=IParagraphContainerTarget, layer=IPyAMSLayer,