From 2044b0200b5b05d7457d9fb80a7dc14162856bf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 7 Oct 2011 17:22:17 -0400 Subject: [PATCH] add more rows to message widget --- tabellio/contact/form.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tabellio/contact/form.py b/tabellio/contact/form.py index 635a9af..c3d8f50 100644 --- a/tabellio/contact/form.py +++ b/tabellio/contact/form.py @@ -81,6 +81,10 @@ class EffectiveContactForm(form.Form): fields['captcha'].widgetFactory = CaptchaFieldWidget template = ViewPageTemplateFile('form_templates/view_effectivecontact.pt') + def updateWidgets(self): + super(EffectiveContactForm, self).updateWidgets() + self.widgets['message'].rows = 10 + @button.buttonAndHandler(_(u'Send')) def handleApply(self, action): data, errors = self.extractData()