web/views/formrenderers.py
branch3.5
changeset 3264 5d1f3f6c042d
parent 3263 5129918c671b
parent 3211 7918d4a5cdbf
child 3275 5247789df541
--- a/web/views/formrenderers.py	Wed Sep 16 17:27:04 2009 +0200
+++ b/web/views/formrenderers.py	Wed Sep 16 17:29:45 2009 +0200
@@ -502,6 +502,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):