Set author attribute as required
authorThierry Florac <thierry.florac@onf.fr>
Mon, 03 Sep 2018 12:18:26 +0200
changeset 911 f96a3da89126
parent 910 175416eba4bd
child 912 f0716419669f
Set author attribute as required
src/pyams_content/component/gallery/zmi/interfaces.py
--- a/src/pyams_content/component/gallery/zmi/interfaces.py	Thu Aug 30 15:28:18 2018 +0200
+++ b/src/pyams_content/component/gallery/zmi/interfaces.py	Mon Sep 03 12:18:26 2018 +0200
@@ -39,7 +39,7 @@
 
     author = TextLine(title=_("Author"),
                       description=_("Name of document's author"),
-                      required=False)
+                      required=True)
 
     author_comments = I18nTextField(title=_("Author comments"),
                                     description=_("Comments relatives to author's rights management"),