--- a/src/pyams_content/component/gallery/zmi/paragraph.py Thu Feb 22 12:00:05 2018 +0100
+++ b/src/pyams_content/component/gallery/zmi/paragraph.py Thu Feb 22 15:58:28 2018 +0100
@@ -16,7 +16,7 @@
# import standard library
# import interfaces
-from pyams_content.component.gallery.interfaces import IGalleryParagraph, IBaseGallery
+from pyams_content.component.gallery.interfaces import IGalleryParagraph, IBaseGallery, GALLERY_PARAGRAPH_TYPE
from pyams_content.component.gallery.zmi.interfaces import IGalleryContentsView
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, IParagraphContainer, \
IParagraphPreview
@@ -57,7 +57,7 @@
label = _("Add medias gallery...")
label_css_class = 'fa fa-fw fa-picture-o'
url = 'add-gallery.html'
- paragraph_type = 'Gallery'
+ paragraph_type = GALLERY_PARAGRAPH_TYPE
@pagelet_config(name='add-gallery.html', context=IParagraphContainerTarget, layer=IPyAMSLayer,