web/views/editforms.py
branchstable
changeset 3513 c002f6488631
parent 3355 39ea15e4589a
child 3518 11ce4682187d
--- a/web/views/editforms.py	Tue Sep 29 12:39:32 2009 +0200
+++ b/web/views/editforms.py	Tue Sep 29 12:41:46 2009 +0200
@@ -65,7 +65,7 @@
             done.add(entity.eid)
             subform = self.vreg['forms'].select('base', self.req, entity=entity,
                                                 mainform=False)
-            self.form_add_subform(subform)
+            self.add_subform(subform)
 
 
 class DeleteConfFormView(FormViewMixIn, EntityView):
@@ -421,7 +421,7 @@
                                              mainform=False)
             # XXX rely on the EntityCompositeFormRenderer to put the eid input
             form.remove_field(form.field_by_name('eid'))
-            self.form_add_subform(form)
+            self.add_subform(form)
 
 
 class TableEditFormView(FormViewMixIn, EntityView):