src/pyams_content/shared/common/zmi/properties.py
changeset 61 e5d6ea4dc839
parent 24 b5882159dea4
child 108 8d9c44f19754
--- a/src/pyams_content/shared/common/zmi/properties.py	Tue Nov 15 09:47:14 2016 +0100
+++ b/src/pyams_content/shared/common/zmi/properties.py	Tue Nov 15 09:49:27 2016 +0100
@@ -80,9 +80,9 @@
     def updateWidgets(self, prefix=None):
         super(SharedContentPropertiesEditForm, self).updateWidgets(prefix)
         if 'description' in self.widgets:
-            self.widgets['description'].label_css_class = 'textarea'
+            self.widgets['description'].widget_css_class = 'textarea'
         if 'notepad' in self.widgets:
-            self.widgets['notepad'].label_css_class = 'textarea'
+            self.widgets['notepad'].widget_css_class = 'textarea'
 
 
 @view_config(name='properties.json', context=IWfSharedContent, request_type=IPyAMSLayer,