web/views/formrenderers.py
branchstable
changeset 4783 6dc34d4cf892
parent 4743 026a89520184
child 4936 a4b772a0d801
--- a/web/views/formrenderers.py	Mon Feb 22 17:23:46 2010 +0100
+++ b/web/views/formrenderers.py	Tue Mar 02 21:48:36 2010 +0100
@@ -132,9 +132,9 @@
             errors = form.remaining_errors()
             if errors:
                 if len(errors) > 1:
-                    templstr = '<li>%s</li>\n'
+                    templstr = u'<li>%s</li>\n'
                 else:
-                    templstr = '&#160;%s\n'
+                    templstr = u'&#160;%s\n'
                 for field, err in errors:
                     if field is None:
                         errormsg += templstr % err