add more rows to message widget
This commit is contained in:
parent
30cb1879c4
commit
2044b0200b
|
@ -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()
|
||||
|
|
Reference in New Issue