source: products/qPloneCaptchas/tags/0.8/skins/plone_captchas/captcha_widget.pt @ 342

Last change on this file since 342 was 1, checked in by myroslav, 19 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 718 bytes
Line 
1<div metal:define-macro="captcha" tal:omit-tag="">
2  <div class="field" tal:define="captcha here/getCaptcha;
3                                 error errors/key|nothing;"
4       tal:attributes="class python:test(error, 'field error', 'field')">
5     <input type="hidden" name="hashkey"
6            tal:attributes="value captcha/key">
7     <input type="hidden" name="evalkey"
8            tal:attributes="value captcha/evalkey">
9     <label for="key">Please enter the validataion code</label>
10     <span class="fieldRequired" title="Required">(Required)</span><br />
11     <input type="text" name="key" size="10" value="">
12     <img tal:attributes="src string:${portal_url}/getCaptchaImage/${captcha/key}"/>
13  </div>
14</div>
Note: See TracBrowser for help on using the repository browser.