entity.py
branchtls-sprint
changeset 1754 c9c7618a90de
parent 1739 78b0819162a8
child 1804 1ce3474dac43
--- a/entity.py	Tue May 12 18:16:11 2009 +0200
+++ b/entity.py	Tue May 12 19:20:23 2009 +0200
@@ -130,8 +130,8 @@
                         wdgname = 'TextInput'
                     widget = getattr(formwidgets, wdgname)
                     assert hasattr(widget, 'render')
-                    uicfg.autoform_widget.tag_subject_of((etype, rtype, '*'),
-                                                         widget)
+                    uicfg.autoform_field_kwargs.tag_subject_of(
+                        (etype, rtype, '*'), {'widget': widget})
         return super(_metaentity, mcs).__new__(mcs, name, bases, classdict)