web/formfields.py
branch3.5
changeset 3275 5247789df541
parent 3246 9e4adca73a95
child 3299 cb543d6bd0e6
--- a/web/formfields.py	Wed Sep 16 21:23:35 2009 +0200
+++ b/web/formfields.py	Wed Sep 16 21:29:17 2009 +0200
@@ -513,6 +513,7 @@
         help = rschema.rproperty(targetschema, eschema, 'description')
     kwargs['required'] = card in '1+'
     kwargs['name'] = rschema.type
+    kwargs['label'] = (eschema.type, rschema.type)
     kwargs.setdefault('help', help)
     if rschema.is_final():
         if skip_meta_attr and rschema in eschema.meta_attributes():