summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-10-07 21:22:17 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-10-07 21:22:17 (GMT)
commit2044b0200b5b05d7457d9fb80a7dc14162856bf9 (patch)
tree5198af7fe62b87e96a2e9d29764cb1aa5893e6fd
parent30cb1879c4602948b0b7e00626d7af247e63150c (diff)
downloadtabellio.contact-2044b0200b5b05d7457d9fb80a7dc14162856bf9.zip
tabellio.contact-2044b0200b5b05d7457d9fb80a7dc14162856bf9.tar.gz
tabellio.contact-2044b0200b5b05d7457d9fb80a7dc14162856bf9.tar.bz2
add more rows to message widget
-rw-r--r--tabellio/contact/form.py4
1 files changed, 4 insertions, 0 deletions
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()