Remove required attribute on gallery title
authorThierry Florac <thierry.florac@onf.fr>
Fri, 08 Jun 2018 17:06:07 +0200
changeset 597 f4912f6e4cde
parent 596 0d1df0c8f195
child 598 f9cd7d17430e
Remove required attribute on gallery title
src/pyams_content/component/gallery/interfaces/__init__.py
--- a/src/pyams_content/component/gallery/interfaces/__init__.py	Fri Jun 08 16:32:56 2018 +0200
+++ b/src/pyams_content/component/gallery/interfaces/__init__.py	Fri Jun 08 17:06:07 2018 +0200
@@ -93,7 +93,7 @@
 
     title = I18nTextLineField(title=_("Title"),
                               description=_("Gallery title, as shown in front-office"),
-                              required=True)
+                              required=False)
 
     description = I18nTextField(title=_("Description"),
                                 description=_("Gallery description displayed by front-office template"),