web/formwidgets.py
changeset 4508 b329af3315b6
parent 4481 56440a1f816a
child 4550 d74098d1b69f
equal deleted inserted replaced
4507:57927ad07e63 4508:b329af3315b6
   747             attrs['tabindex'] = req.next_tabindex()
   747             attrs['tabindex'] = req.next_tabindex()
   748         attrs.setdefault('onkeyup', 'autogrow(this)')
   748         attrs.setdefault('onkeyup', 'autogrow(this)')
   749         inputs += [tags.textarea(fqs, name=fqsqname, **attrs),
   749         inputs += [tags.textarea(fqs, name=fqsqname, **attrs),
   750                    u'</td></tr></table>']
   750                    u'</td></tr></table>']
   751         # surrounding div necessary for proper error localization
   751         # surrounding div necessary for proper error localization
   752         return u'<div id="%s">%s%s</div>' % (
   752         return u'<div id="%s">%s</div>' % (
   753             field.dom_id(form), u'\n'.join(inputs))
   753             field.dom_id(form), u'\n'.join(inputs))
   754 
   754 
   755     def process_field_data(self, form, field):
   755     def process_field_data(self, form, field):
   756         req = form._cw
   756         req = form._cw
   757         values = {}
   757         values = {}