source: products/quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/skins/plone_captchas/captcha_widget.pt @ 1871

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

Revert 2726 to 2589 commits for tagging plone-3 compatible version

File size: 1001 bytes
Line 
1<div metal:define-macro="captcha"
2     tal:omit-tag=""
3     i18n:domain="quintagroup.plonecaptchas">
4  <div class="field"
5       tal:define="hk here/getCaptcha;
6                   error errors/key|nothing"
7       tal:attributes="class python:test(error, 'field error', 'field')">
8     <input type="hidden"
9            name="hashkey"
10            tal:attributes="value hk" />
11     <label i18n:translate="enter_word">Enter the word below</label>
12     <span class="fieldRequired" title="Required"
13           i18n:domain="plone" i18n:attributes="title title_required;"
14           i18n:translate="label_required">(Required)</span>
15     <div class="formHelp"></div>
16     <div tal:content="error">Validation error output</div>
17     <input type="text"
18            tabindex=""
19            name="key"
20            size="10"
21            value=""
22            tal:attributes="tabindex tabindex/next;"/>
23     <img tal:attributes="src string:${portal_url}/getCaptchaImage/${hk}" alt="Enter the word"/>
24  </div>
25</div>
Note: See TracBrowser for help on using the repository browser.