--- a/web/views/baseforms.py Fri Mar 27 12:30:59 2009 +0100
+++ b/web/views/baseforms.py Fri Mar 27 12:31:42 2009 +0100
@@ -327,7 +327,7 @@
# should_* method extracted to allow overriding
def should_inline_relation_form(self, entity, rschema, targettype, role):
- return AutomaticForm.rinlined.etype_rtag(entity.id, role, rschema, targettype)
+ return AutomaticForm.rinlined.etype_rtag(entity.id, rschema, role, targettype)
def should_display_inline_relation_form(self, rschema, existant, card):
return not existant and card in '1+'
@@ -429,7 +429,7 @@
def should_inline_relation_form(self, entity, rschema, targettype, role):
if rschema == self.rschema:
return False
- return AutomaticForm.rinlined.etype_rtag(entity.id, role, rschema, targettype)
+ return AutomaticForm.rinlined.etype_rtag(entity.id, rschema, role, targettype)
@cached
def keep_entity(self, entity):