Rev | Line | |
---|
[797] | 1 | <div metal:define-macro="captcha" |
---|
| 2 | tal:omit-tag="" |
---|
[821] | 3 | i18n:domain="quintagroup.plonecaptchas"> |
---|
[797] | 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" |
---|
[821] | 13 | i18n:domain="plone" i18n:attributes="title title_required;" |
---|
[797] | 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.