source: products/quintagroup.captcha.core/trunk/quintagroup/captcha/core/skins/captcha_core/captcha_widget.pt @ 2771

Last change on this file since 2771 was 2771, checked in by chervol, 14 years ago

removed tabindex

File size: 1010 bytes
RevLine 
[797]1<div metal:define-macro="captcha"
2     tal:omit-tag=""
[2034]3     i18n:domain="quintagroup.captcha.core"
[2771]4     tal:define="portal_url here/plone_portal_state/portal_url">
[797]5  <div class="field"
6       tal:define="hk here/getCaptcha;
[1874]7                   error errors/key|nothing"
[2542]8       tal:attributes="class python:error and 'field error' or 'field'">
[797]9     <input type="hidden"
10            name="hashkey"
11            tal:attributes="value hk" />
12     <label i18n:translate="enter_word">Enter the word below</label>
13     <span class="fieldRequired" title="Required"
[821]14           i18n:domain="plone" i18n:attributes="title title_required;"
[797]15           i18n:translate="label_required">(Required)</span>
[1874]16     <div class="formHelp"></div>
[797]17     <div tal:content="error">Validation error output</div>
18     <input type="text"
19            tabindex=""
20            name="key"
21            size="10"
[2771]22            value=""/>
[797]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.