branch | tls-sprint |
changeset 1138 | 22f634977c95 |
parent 1135 | 00eb43688a57 |
child 1147 | 402e8a8b1d6a |
--- a/web/views/editforms.py Mon Mar 23 18:53:53 2009 +0100 +++ b/web/views/editforms.py Wed Mar 25 10:40:22 2009 +0100 @@ -103,7 +103,8 @@ super(AutomaticEntityForm, self).__init__(*args, **kwargs) self.entity.complete() for rschema, target in self.editable_attributes(self.entity): - field = guess_field(entity.__class__, self.entity.e_schema, rschema, target) + field = guess_field(self.entity.__class__, self.entity.e_schema, + rschema, target) self.fields.append(field) def form_buttons(self):