oops, use unicode cubicweb-version-3.10.4
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 22 Oct 2010 18:46:23 +0200
changeset 6609 d73733479a3a
parent 6608 1a76045d093d
child 6610 7b41930e1d32
oops, use unicode
web/views/formrenderers.py
--- a/web/views/formrenderers.py	Fri Oct 22 18:26:49 2010 +0200
+++ b/web/views/formrenderers.py	Fri Oct 22 18:46:23 2010 +0200
@@ -221,7 +221,7 @@
         for field in form.fields:
             if not field.is_visible():
                 w(field.render(form, self))
-                w('\n')
+                w(u'\n')
                 fields.remove(field)
         return fields
 
@@ -255,7 +255,7 @@
                     w(u' class="error"')
                 w(u'>\n')
                 w(field.render(form, self))
-                w('\n')
+                w(u'\n')
                 if error:
                     self.render_error(w, error)
                 if self.display_help: