web/views/forms.py
branchstable
changeset 9701 46c8d8701240
parent 8900 010a59e12d89
child 9770 112c884b2d8d
child 9928 0d831b40fa48
equal deleted inserted replaced
9700:da7d341cca76 9701:46c8d8701240
   183             self._cw.add_css(self.needs_css)
   183             self._cw.add_css(self.needs_css)
   184 
   184 
   185     def render(self, formvalues=None, renderer=None, **kwargs):
   185     def render(self, formvalues=None, renderer=None, **kwargs):
   186         """Render this form, using the `renderer` given as argument or the
   186         """Render this form, using the `renderer` given as argument or the
   187         default according to :attr:`form_renderer_id`. The rendered form is
   187         default according to :attr:`form_renderer_id`. The rendered form is
   188         returned as an unicode string.
   188         returned as a unicode string.
   189 
   189 
   190         `formvalues` is an optional dictionary containing values that will be
   190         `formvalues` is an optional dictionary containing values that will be
   191         considered as field's value.
   191         considered as field's value.
   192 
   192 
   193         Extra keyword arguments will be given to renderer's :meth:`render` method.
   193         Extra keyword arguments will be given to renderer's :meth:`render` method.