source: products/qPloneCaptchaField/trunk/widgets/CaptchaWidget.py @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 495 bytes
Line 
1from Products.Archetypes.Widget import StringWidget
2from Products.Archetypes.Registry import registerWidget
3
4class CaptchaWidget(StringWidget):
5    _properties = StringWidget._properties.copy()
6    _properties.update( {'macro' : "captchaField_widget"} )
7
8
9registerWidget(CaptchaWidget,
10               title = 'Captcha widget',
11               description= ('Renders captcha image and string input',),
12               used_for = ('Products.qPloneCaptchaField.content.CaptchaField',)
13              )
Note: See TracBrowser for help on using the repository browser.