Rev | Line | |
---|
[797] | 1 | <div metal:define-macro="captcha" |
---|
| 2 | tal:omit-tag="" |
---|
[2034] | 3 | i18n:domain="quintagroup.captcha.core" |
---|
| 4 | tal:define="Iterator python:modules['Products.CMFPlone'].IndexIterator; |
---|
[2542] | 5 | tabindex python:Iterator(mainSlot=False); |
---|
| 6 | portal_url here/plone_portal_state/portal_url"> |
---|
[797] | 7 | <div class="field" |
---|
| 8 | tal:define="hk here/getCaptcha; |
---|
[1874] | 9 | error errors/key|nothing" |
---|
[2542] | 10 | tal:attributes="class python:error and 'field error' or 'field'"> |
---|
[797] | 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> |
---|
[1874] | 18 | <div class="formHelp"></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.