Changeset 1871 in products for quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/browser/widget.py
- Timestamp:
- Mar 10, 2010 1:50:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/browser/widget.py
r1861 r1871 21 21 kwargs['maxlength'] = self.displayMaxWidth # TODO This is untested. 22 22 23 return u""" %s%s""" % \24 ( renderElement(self.tag, **kwargs), captcha.image_tag())23 return u"""<div class="captchaImage">%s</div>%s""" % \ 24 (captcha.image_tag(), renderElement(self.tag, **kwargs)) 25 25 26 26 def _toFieldValue(self, input):
Note: See TracChangeset
for help on using the changeset viewer.