Changeset 2803 in products for quintagroup.formlib.captcha/trunk/quintagroup/formlib
- Timestamp:
- Sep 10, 2010 12:19:57 PM (14 years ago)
- Location:
- quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/example.py
r2802 r2803 16 16 17 17 class CaptchaFormlibFormAdapter(object): 18 adapts(Interface)19 18 implements(ICaptchaFormlibFormSchema) 19 20 def __init__(self, context): 21 self.context = context 22 20 23 label = u'' 21 24 captcha = None … … 24 27 25 28 class CaptchaFormlibForm(EditForm): 29 26 30 form_fields = FormFields(ICaptchaFormlibFormSchema) -
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests/tests.zcml
r2802 r2803 3 3 xmlns:browser="http://namespaces.zope.org/browser"> 4 4 5 <adapter factory="quintagroup.formlib.captcha.example.CaptchaFormlibFormAdapter" /> 5 <adapter 6 for="*" 7 factory="quintagroup.formlib.captcha.example.CaptchaFormlibFormAdapter" /> 6 8 7 9 <browser:page
Note: See TracChangeset
for help on using the changeset viewer.