Ignore:
Timestamp:
Jun 16, 2010 3:26:04 PM (14 years ago)
Author:
mylan
Message:

#216: Fixed #5 issue, added test (from http://plone.org/products/plone-comments/issues/5)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.captcha.core/trunk/quintagroup/captcha/core/skins/captcha_core/captcha_widget.pt

    r2034 r2542  
    33     i18n:domain="quintagroup.captcha.core" 
    44     tal:define="Iterator python:modules['Products.CMFPlone'].IndexIterator; 
    5                  tabindex python:Iterator(mainSlot=False)"> 
     5                 tabindex python:Iterator(mainSlot=False); 
     6                 portal_url here/plone_portal_state/portal_url"> 
    67  <div class="field" 
    78       tal:define="hk here/getCaptcha; 
    89                   error errors/key|nothing" 
    9        tal:attributes="class python:test(error, 'field error', 'field')"> 
     10       tal:attributes="class python:error and 'field error' or 'field'"> 
    1011     <input type="hidden" 
    1112            name="hashkey" 
Note: See TracChangeset for help on using the changeset viewer.