Changeset 4552

Show
Ignore:
Timestamp:
05/01/08 07:59:08 (7 months ago)
Author:
chrisz
Message:

Reverted r4549, since it had a wrong commit message and button names and ids are inserted into the template via attr for all Button subclasses, so setting them explicitly is not necessary.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/turbogears/widgets/forms.py

    r4549 r4552  
    686686    <input xmlns:py="http://purl.org/kid/ns#" 
    687687        type="button" 
    688         name="${name}" 
    689688        class="${field_class}" 
    690689        value="${value}" 
     
    711710    <input xmlns:py="http://purl.org/kid/ns#" 
    712711        type="submit" 
    713         name="${name}" 
    714712        class="${field_class}" 
    715713        value="${value}" 
     
    726724    <input xmlns:py="http://purl.org/kid/ns#" 
    727725        type="reset" 
    728         name="$name" 
    729726        class="${field_class}" 
    730727        value="${value}" 
     
    741738    <input xmlns:py="http://purl.org/kid/ns#" 
    742739        type="image" 
    743         name="${name}" 
    744740        src="${src}" 
    745741        width="${width}" 
  • branches/1.1/turbogears/widgets/forms.py

    r4549 r4552  
    681681    <input xmlns:py="http://purl.org/kid/ns#" 
    682682        type="button" 
    683         name="${name}" 
    684683        class="${field_class}" 
    685684        value="${value}" 
     
    706705    <input xmlns:py="http://purl.org/kid/ns#" 
    707706        type="submit" 
    708         name="${name}" 
    709707        class="${field_class}" 
    710708        value="${value}" 
     
    721719    <input xmlns:py="http://purl.org/kid/ns#" 
    722720        type="reset" 
    723         name="${name}" 
    724721        class="${field_class}" 
    725722        value="${value}" 
     
    736733    <input xmlns:py="http://purl.org/kid/ns#" 
    737734        type="image" 
    738         name="${name}" 
    739735        src="${src}" 
    740736        width="${width}"