source: products/qPloneCaptchas/tags/1.2.1/skins/plone_captchas/captcha_widget.pt @ 458

Last change on this file since 458 was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 917 bytes
Line 
1<div metal:define-macro="captcha"
2     tal:omit-tag=""
3     i18n:domain="qplonecaptchas">
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
9     <input type="hidden"
10            name="hashkey"
11            tal:attributes="value hk" />
12
13     <label for="key"
14             i18n:translate="enter_word">Enter the word below</label>
15
16     <span class="fieldRequired" title="Required"
17           i18n:attributes="title title_required;"
18           i18n:translate="label_required">(Required)</span>
19
20     <div class="formHelp"></div>
21
22     <input type="text"
23            tabindex=""
24            name="key"
25            size="10"
26            value=""
27            tal:attributes="tabindex tabindex/next;"/>
28     <img tal:attributes="src string:${portal_url}/getCaptchaImage/${hk}"/>
29  </div>
30</div>
Note: See TracBrowser for help on using the repository browser.