# HG changeset patch
# User Thierry Florac <thierry.florac@onf.fr>
# Date 1535969906 -7200
# Node ID f96a3da89126b62334c2aa0ca74ca0d8cdd1891f
# Parent  175416eba4bd2d518beb7e293c29ff3640c33134
Set author attribute as required

diff -r 175416eba4bd -r f96a3da89126 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"),