don't display relation in the metadata category here tls-sprint
authorGraziella Toutoungis <graziella.toutoungis@logilab.fr>
Tue, 05 May 2009 16:06:00 +0200
branchtls-sprint
changeset 1683 c74566e61f1a
parent 1682 36bd5cba09de
child 1684 22486268ff94
don't display relation in the metadata category here
web/formrenderers.py
--- a/web/formrenderers.py	Tue May 05 15:40:07 2009 +0200
+++ b/web/formrenderers.py	Tue May 05 16:06:00 2009 +0200
@@ -328,7 +328,7 @@
             super(EntityFormRenderer, self).render_buttons(w, form)
 
     def relations_form(self, w, form):
-        srels_by_cat = form.srelations_by_category(('generic', 'metadata'), 'add')
+        srels_by_cat = form.srelations_by_category('generic', 'add')
         if not srels_by_cat:
             return u''
         req = form.req