source: products/quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/widgets/CaptchaWidget.py @ 1973

Last change on this file since 1973 was 1973, checked in by liebster, 14 years ago

Change import path

  • Property svn:eol-style set to native
File size: 491 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 = ('quintagroup.pfg.captcha.content.CaptchaField',)
13              )
Note: See TracBrowser for help on using the repository browser.