web/views/editforms.py
changeset 2576 4ed80b85a22a
parent 2572 58556f9317c9
child 2650 18aec79ec3a3
child 2672 c66f52d44394
--- a/web/views/editforms.py	Thu Jul 30 18:51:44 2009 +0200
+++ b/web/views/editforms.py	Thu Jul 30 18:52:26 2009 +0200
@@ -83,7 +83,8 @@
           % _('this action is not reversible!'))
         # XXX above message should have style of a warning
         w(u'<h4>%s</h4>\n' % _('Do you want to delete the following element(s) ?'))
-        form = self.vreg.select('forms', 'composite', req, onsubmit=onsubmit)
+        form = self.vreg.select('forms', self.id, req, rset=self.rset,
+                                onsubmit=onsubmit)
         w(u'<ul>\n')
         for entity in self.rset.entities():
             # don't use outofcontext view or any other that may contain inline edition form