Changeset 2810 in products
- Timestamp:
- Sep 14, 2010 9:29:01 AM (14 years ago)
- Location:
- quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/example.py
r2807 r2810 7 7 8 8 from quintagroup.formlib.captcha import Captcha 9 9 10 10 # Define CaptchaFormlibForm form schema 11 11 … … 30 30 31 31 class CaptchaFormlibForm(EditForm): 32 template = ViewPageTemplateFile("example.pt")33 32 form_fields = FormFields(ICaptchaFormlibFormSchema) -
quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests/tests.zcml
r2803 r2810 6 6 for="*" 7 7 factory="quintagroup.formlib.captcha.example.CaptchaFormlibFormAdapter" /> 8 9 <!-- register plone.app.form.default_named_template_adapter 10 for our form to use default plone's formlib form --> 11 <adapter 12 for="quintagroup.formlib.captcha.example.CaptchaFormlibForm" 13 factory="plone.app.form.default_named_template_adapter" 14 name="default" 15 provides="zope.formlib.namedtemplate.INamedTemplate" 16 /> 8 17 9 18 <browser:page
Note: See TracChangeset
for help on using the changeset viewer.