web/views/autoform.py
branchstable
changeset 4758 0efdcf0fa4c7
parent 4642 606364845c34
child 4932 dce5ebe5d598
--- a/web/views/autoform.py	Tue Mar 02 15:58:39 2010 +0100
+++ b/web/views/autoform.py	Wed Mar 03 17:39:22 2010 +0100
@@ -661,7 +661,7 @@
             return []
         # XXX we should simply put eid in the generated section, no?
         return [(rtype, role) for rtype, _, role in self._relations_by_section(
-            'attributes', 'update', strict) if rtype != 'eid']
+            'attributes', 'update', strict)]
 
     def editable_relations(self):
         """return a sorted list of (relation's label, relation'schema, role) for