web/views/baseforms.py
branchtls-sprint
changeset 1540 996355824825
parent 1498 2c6eec0b46b9
child 1802 d628defebc17
--- a/web/views/baseforms.py	Wed Apr 29 11:53:08 2009 +0200
+++ b/web/views/baseforms.py	Wed Apr 29 12:13:47 2009 +0200
@@ -320,8 +320,8 @@
     # should_* method extracted to allow overriding
     
     def should_inline_relation_form(self, entity, rschema, targettype, role):
-        return AutomaticEntityForm.rinlined.etype_rtag(entity.id, rschema, role,
-                                                       targettype)
+        return AutomaticEntityForm.rinlined.etype_get(entity.id, rschema, role,
+                                                      targettype)
 
     def should_display_inline_relation_form(self, rschema, existant, card):
         return not existant and card in '1+'
@@ -423,8 +423,8 @@
     def should_inline_relation_form(self, entity, rschema, targettype, role):
         if rschema == self.rschema:
             return False
-        return AutomaticEntityForm.rinlined.etype_rtag(entity.id, rschema, role,
-                                                       targettype)
+        return AutomaticEntityForm.rinlined.etype_get(entity.id, rschema, role,
+                                                      targettype)
 
     @cached
     def keep_entity(self, entity):