web/formwidgets.py
branchstable
changeset 5111 9f3ea34f98d1
parent 4975 35b0dd80dc06
child 5367 4176a50c81c9
equal deleted inserted replaced
5110:e1f0fb044d94 5111:9f3ea34f98d1
   781                   u'</th><td>']
   781                   u'</th><td>']
   782         if self.setdomid:
   782         if self.setdomid:
   783             attrs['id'] = field.dom_id(form, 'fqs')
   783             attrs['id'] = field.dom_id(form, 'fqs')
   784         if self.settabindex:
   784         if self.settabindex:
   785             attrs['tabindex'] = req.next_tabindex()
   785             attrs['tabindex'] = req.next_tabindex()
       
   786         attrs.setdefault('cols', 60)
   786         attrs.setdefault('onkeyup', 'autogrow(this)')
   787         attrs.setdefault('onkeyup', 'autogrow(this)')
   787         inputs += [tags.textarea(fqs, name=fqsqname, **attrs),
   788         inputs += [tags.textarea(fqs, name=fqsqname, **attrs),
   788                    u'</td></tr></table>']
   789                    u'</td></tr></table>']
   789         # surrounding div necessary for proper error localization
   790         # surrounding div necessary for proper error localization
   790         return u'<div id="%s">%s</div>' % (
   791         return u'<div id="%s">%s</div>' % (