app/soc/views/helper/forms.py
changeset 459 2cfcedaf7c16
parent 394 4c60652a3947
child 472 519c298a4f87
equal deleted inserted replaced
458:e836e8914c8e 459:2cfcedaf7c16
    87   DEF_NORMAL_ROW = u'<tr><td class="formfieldlabel">%(label)s</td>' \
    87   DEF_NORMAL_ROW = u'<tr><td class="formfieldlabel">%(label)s</td>' \
    88       '<td>%(errors)s%(field)s%(help_text)s</td></tr>'
    88       '<td>%(errors)s%(field)s%(help_text)s</td></tr>'
    89   DEF_ERROR_ROW = u'<tr><td colspan="2">%s</td></tr>'
    89   DEF_ERROR_ROW = u'<tr><td colspan="2">%s</td></tr>'
    90   DEF_ROW_ENDER = '</td></tr>'
    90   DEF_ROW_ENDER = '</td></tr>'
    91   DEF_HELP_TEXT_HTML = u'<td class="formfieldhelptext">%s</td>'
    91   DEF_HELP_TEXT_HTML = u'<td class="formfieldhelptext">%s</td>'
    92   
    92 
    93   def __init__(self, *args, **kwargs):
    93   def __init__(self, *args, **kwargs):
    94     """Parent class initialization.
    94     """Parent class initialization.
    95 
    95 
    96     Args:
    96     Args:
    97       *args, **kwargs:  passed through to parent __init__() constructor
    97       *args, **kwargs:  passed through to parent __init__() constructor