merge default doc-dc
authorDamien Correia
Wed, 13 Jun 2018 15:38:26 +0200
branchdoc-dc
changeset 667 9832d24a17c6
parent 666 1ea1df064e25 (current diff)
parent 645 2e4d8741e2b5 (diff)
child 668 a63bc2aa60bb
merge default
--- a/src/pyams_content/component/paragraph/zmi/container.py	Wed Jun 13 14:52:08 2018 +0200
+++ b/src/pyams_content/component/paragraph/zmi/container.py	Wed Jun 13 15:38:26 2018 +0200
@@ -132,7 +132,7 @@
                     message = '{0}<br />{1}'.format(message,
                                                     translate(_("Check allowed paragraph types to be able to create "
                                                                 "new paragraphs.")))
-            return message
+            return self.renderEmptyTable(message)
         return super(ParagraphContainerBaseTable, self).render()