# HG changeset patch # User Sylvain Thénault # Date 1266942763 -3600 # Node ID 2a77a0d9075f2a5483d1adc609c63b17507cabed # Parent 9f82f81bf13df61d4473bb891794b8bc44db52d1 cleanup, typos diff -r 9f82f81bf13d -r 2a77a0d9075f web/controller.py --- a/web/controller.py Tue Feb 23 17:32:31 2010 +0100 +++ b/web/controller.py Tue Feb 23 17:32:43 2010 +0100 @@ -1,4 +1,4 @@ -"""abstract controler classe for CubicWeb web client +"""abstract controller classe for CubicWeb web client :organization: Logilab diff -r 9f82f81bf13d -r 2a77a0d9075f web/views/editforms.py --- a/web/views/editforms.py Tue Feb 23 17:32:31 2010 +0100 +++ b/web/views/editforms.py Tue Feb 23 17:32:43 2010 +0100 @@ -96,9 +96,7 @@ def render_form(self, entity): """fetch and render the form""" self.form_title(entity) - form = self._cw.vreg['forms'].select('edition', self._cw, rset=entity.cw_rset, - row=entity.cw_row, col=entity.cw_col, - entity=entity, + form = self._cw.vreg['forms'].select('edition', self._cw, entity=entity, submitmsg=self.submited_message()) self.init_form(form, entity) self.w(form.render()) @@ -238,7 +236,7 @@ # the edit controller try to select the form with no rset but # entity=entity, and use this form to edit the entity. So we want # edition form there but specifying formvid may have other undesired - # side effect. Maybe we should provide another variable optinally + # side effect. Maybe we should provide another variable optionally # telling which form the edit controller should select (eg difffers # between html generation / post handling form) form = self._cw.vreg['forms'].select(self.__regid__, self._cw,