delete remaining stuff w/ handling of the generic relations
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 20 Jan 2010 14:38:45 +0100
changeset 4293 0c4bdb3d93fd
parent 4292 3fc808b0490b
child 4294 235fe518b2e4
delete remaining stuff w/ handling of the generic relations
web/views/formrenderers.py
--- a/web/views/formrenderers.py	Wed Jan 20 14:34:06 2010 +0100
+++ b/web/views/formrenderers.py	Wed Jan 20 14:38:45 2010 +0100
@@ -353,8 +353,7 @@
     # needs some additional points in some case (XXX explain cases)
     __select__ = implements('Any') & yes()
 
-    _options = FormRenderer._options + ('display_relations_form', 'main_form_title')
-    display_relations_form = True
+    _options = FormRenderer._options + ('main_form_title',)
     main_form_title = _('main informations')
 
     def render(self, form, values):
@@ -372,8 +371,6 @@
     def render_fields(self, w, form, values):
         super(EntityFormRenderer, self).render_fields(w, form, values)
         self.inline_entities_form(w, form)
-        if form.edited_entity.has_eid() and self.display_relations_form:
-            self.relations_form(w, form)
 
     def _render_fields(self, fields, w, form):
         if not form.edited_entity.has_eid() or form.edited_entity.has_perm('update'):