Set body of HTML paragraphs as not required
authorThierry Florac <thierry.florac@onf.fr>
Wed, 12 Jul 2017 11:41:38 +0200
changeset 100 2aa1c599a3ea
parent 99 3af8f6523bb0
child 101 0ec0c7bee139
Set body of HTML paragraphs as not required
src/pyams_content/component/paragraph/interfaces/__init__.py
--- a/src/pyams_content/component/paragraph/interfaces/__init__.py	Wed Jul 12 11:40:54 2017 +0200
+++ b/src/pyams_content/component/paragraph/interfaces/__init__.py	Wed Jul 12 11:41:38 2017 +0200
@@ -72,7 +72,7 @@
     """HTML body paragraph"""
 
     body = I18nHTMLField(title=_("Body"),
-                         required=True)
+                         required=False)
 
 
 #