# HG changeset patch # User Damien Correia # Date 1539347583 -7200 # Node ID a5e56749ca3d78368a9b85f601936b05a17ce18d # Parent e608aecc2e602003db112a84cd21cc98b2ab01fb Updated Verbatim paragraph add form: increase the 'quote' textarea size to 200px diff -r e608aecc2e60 -r a5e56749ca3d src/pyams_content/component/paragraph/zmi/verbatim.py --- a/src/pyams_content/component/paragraph/zmi/verbatim.py Fri Oct 12 14:30:34 2018 +0200 +++ b/src/pyams_content/component/paragraph/zmi/verbatim.py Fri Oct 12 14:33:03 2018 +0200 @@ -73,6 +73,11 @@ fields = field.Fields(IVerbatimParagraph).omit(*PARAGRAPH_HIDDEN_FIELDS) edit_permission = MANAGE_CONTENT_PERMISSION + def updateWidgets(self, prefix=None): + super().updateWidgets(prefix) + if 'quote' in self.widgets: + self.widgets['quote'].widget_css_class = 'input height-200' + def create(self, data): return VerbatimParagraph()