Last change
on this file since 1862 was
1862,
checked in by liebster, 14 years ago
|
Added description for captcha fild
|
File size:
1.2 KB
|
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; |
---|
[1691] | 6 | error errors/key|nothing; |
---|
| 7 | Iterator python:modules['Products.CMFPlone'].IndexIterator; |
---|
| 8 | tabindex python:Iterator(mainSlot=False)" |
---|
| 9 | |
---|
[797] | 10 | tal:attributes="class python:test(error, 'field error', 'field')"> |
---|
| 11 | <input type="hidden" |
---|
| 12 | name="hashkey" |
---|
| 13 | tal:attributes="value hk" /> |
---|
| 14 | <label i18n:translate="enter_word">Enter the word below</label> |
---|
| 15 | <span class="fieldRequired" title="Required" |
---|
[821] | 16 | i18n:domain="plone" i18n:attributes="title title_required;" |
---|
[797] | 17 | i18n:translate="label_required">(Required)</span> |
---|
[1862] | 18 | <div class="formHelp" i18n:translate="label_help_captchas">Enter the word below for registration.</div> |
---|
[797] | 19 | <div tal:content="error">Validation error output</div> |
---|
| 20 | <input type="text" |
---|
| 21 | tabindex="" |
---|
| 22 | name="key" |
---|
| 23 | size="10" |
---|
| 24 | value="" |
---|
| 25 | tal:attributes="tabindex tabindex/next;"/> |
---|
| 26 | <img tal:attributes="src string:${portal_url}/getCaptchaImage/${hk}" alt="Enter the word"/> |
---|
| 27 | </div> |
---|
| 28 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.