web/views/formrenderers.py
changeset 2890 fdcb8a2bb6eb
parent 2819 b864288fd316
child 3023 7864fee8b4ec
equal deleted inserted replaced
2889:5b42222d3b88 2890:fdcb8a2bb6eb
    51     display_progress_div = True
    51     display_progress_div = True
    52     table_class = u'attributeForm'
    52     table_class = u'attributeForm'
    53     button_bar_class = u'formButtonBar'
    53     button_bar_class = u'formButtonBar'
    54 
    54 
    55     def __init__(self, req=None, rset=None, row=None, col=None, **kwargs):
    55     def __init__(self, req=None, rset=None, row=None, col=None, **kwargs):
    56         super(FormRenderer, self).__init__(req, rset, row, col)
    56         super(FormRenderer, self).__init__(req, rset=rset, row=row, col=col)
    57         if self._set_options(kwargs):
    57         if self._set_options(kwargs):
    58             raise ValueError('unconsumed arguments %s' % kwargs)
    58             raise ValueError('unconsumed arguments %s' % kwargs)
    59 
    59 
    60     def _set_options(self, kwargs):
    60     def _set_options(self, kwargs):
    61         for key in self._options:
    61         for key in self._options: