common/tags.py
branchstable
changeset 3847 7cf2b338a8e7
parent 3803 414bb8439002
child 4023 eae23c40627a
child 4212 ab6573088b4a
equal deleted inserted replaced
3846:1a7d10864628 3847:7cf2b338a8e7
    30 h1 = tag('h1')
    30 h1 = tag('h1')
    31 h2 = tag('h2')
    31 h2 = tag('h2')
    32 h3 = tag('h3')
    32 h3 = tag('h3')
    33 h4 = tag('h4')
    33 h4 = tag('h4')
    34 h5 = tag('h5')
    34 h5 = tag('h5')
       
    35 tr = tag('tr')
       
    36 th = tag('th')
       
    37 td = tag('td')
    35 
    38 
    36 def select(name, id=None, multiple=False, options=[], **attrs):
    39 def select(name, id=None, multiple=False, options=[], **attrs):
    37     if multiple:
    40     if multiple:
    38         attrs['multiple'] = 'multiple'
    41         attrs['multiple'] = 'multiple'
    39     if id:
    42     if id: