cleanup, typos stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 23 Feb 2010 17:32:43 +0100
branchstable
changeset 4669 2a77a0d9075f
parent 4668 9f82f81bf13d
child 4670 48ba6f820fae
cleanup, typos
web/controller.py
web/views/editforms.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
--- 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,