From 34cccbdfdce990673d80f573215984e675d322f1 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Wed, 12 Aug 2009 11:45:50 +0000 Subject: [PATCH] comments added. svn path=/plone.formwidget.captcha/trunk/; revision=28732 --- plone/formwidget/captcha/demo/configure.zcml | 4 +++- plone/formwidget/captcha/demo/form.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plone/formwidget/captcha/demo/configure.zcml b/plone/formwidget/captcha/demo/configure.zcml index bddbf94..5415829 100644 --- a/plone/formwidget/captcha/demo/configure.zcml +++ b/plone/formwidget/captcha/demo/configure.zcml @@ -3,18 +3,20 @@ xmlns:browser="http://namespaces.zope.org/browser" i18n_domain="plone.formwidget.captcha"> + + - + diff --git a/plone/formwidget/captcha/demo/form.py b/plone/formwidget/captcha/demo/form.py index 5c2cf70..eaad6b1 100644 --- a/plone/formwidget/captcha/demo/form.py +++ b/plone/formwidget/captcha/demo/form.py @@ -46,5 +46,5 @@ class BaseForm(form.Form): CaptchaForm = wrap_form(BaseForm) -# Register Captcha Validator for the captcha field in the ICaptchaForm +# Register Captcha validator for the captcha field in the ICaptchaForm validator.WidgetValidatorDiscriminators(CaptchaValidator, field=ICaptchaForm['captcha']) \ No newline at end of file