web/views/formrenderers.py
branchstable
changeset 3211 7918d4a5cdbf
parent 2996 866a2c135c33
child 3264 5d1f3f6c042d
--- a/web/views/formrenderers.py	Mon Sep 14 11:08:57 2009 +0200
+++ b/web/views/formrenderers.py	Mon Sep 14 16:24:01 2009 +0200
@@ -501,6 +501,7 @@
             w(form.view('inline-creation', None, etype=targettype,
                         peid=entity.eid, ptype=entity.e_schema,
                         rtype=rschema, role=role))
+            existant = True
         # we can create more than one related entity, we thus display a link
         # to add new related entities
         if form.should_display_add_new_relation_link(rschema, existant, card):