web/views/autoform.py
changeset 4467 0e73d299730a
parent 4387 4aacd6492ef4
child 4518 5690bf6d6081
--- a/web/views/autoform.py	Fri Feb 05 11:54:23 2010 +0100
+++ b/web/views/autoform.py	Fri Feb 05 11:56:57 2010 +0100
@@ -449,7 +449,7 @@
         options = []
         divid = 'div%s_%s_%s' % (rschema.type, role, entity.eid)
         selectid = 'select%s_%s_%s' % (rschema.type, role, entity.eid)
-        if rschema.symetric or role == 'subject':
+        if rschema.symmetric or role == 'subject':
             targettypes = rschema.objects(entity.e_schema)
             etypes = '/'.join(sorted(etype.display_name(self._cw) for etype in targettypes))
         else: