--- a/src/pyams_content/shared/common/zmi/__init__.py Thu Jul 12 17:35:51 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/__init__.py Thu Jul 12 18:18:15 2018 +0200
@@ -82,8 +82,6 @@
super(SharedContentAddForm, self).updateWidgets(prefix)
if 'title' in self.widgets:
self.widgets['title'].description = _("This title can be modified afterwards")
- if 'notepad' in self.widgets:
- self.widgets['notepad'].widget_css_class = 'textarea'
def create(self, data):
return self.context.shared_content_factory.content_class()
@@ -290,11 +288,6 @@
edit_permission = CREATE_CONTENT_PERMISSION
- def updateWidgets(self, prefix=None):
- super(WfSharedContentDuplicateForm, self).updateWidgets(prefix)
- if 'comment' in self.widgets:
- self.widgets['comment'].widget_css_class = 'textarea'
-
def updateActions(self):
super(WfSharedContentDuplicateForm, self).updateActions()
if 'duplicate' in self.actions: