Ticket #6983: base.py.patch
File base.py.patch, 432 bytes (added by , 17 years ago) |
---|
-
main.py
133 133 if max([bool(f.errors()) for f in self.form_fields]): 134 134 classes.append('error') 135 135 if classes: 136 self.cell_class_attribute = u' class="%s" ' % ' '.join(classes)136 self.cell_class_attribute = mark_safe(u' class="%s" ' % ' '.join(classes)) 137 137 self._repr_filled = False 138 138 139 139 if field.rel: