web/views/editviews.py
changeset 2650 18aec79ec3a3
parent 2381 caad2367d940
child 2789 39712da6f397
child 2996 866a2c135c33
--- a/web/views/editviews.py	Mon Aug 03 09:37:13 2009 +0200
+++ b/web/views/editviews.py	Mon Aug 03 10:50:57 2009 +0200
@@ -120,7 +120,7 @@
         eid = entity.eid
         pending_inserts = self.req.get_pending_inserts(eid)
         rtype = rschema.type
-        form = self.vreg.select('forms', 'edition', self.req, entity=entity)
+        form = self.vreg['forms'].select('edition', self.req, entity=entity)
         field = form.field_by_name(rschema, target, entity.e_schema)
         limit = self.req.property_value('navigation.combobox-limit')
         for eview, reid in form.form_field_vocabulary(field, limit):