web/views/baseforms.py
branchstable
changeset 2996 866a2c135c33
parent 2312 af4d8f75c5db
child 3263 5129918c671b
--- a/web/views/baseforms.py	Tue Aug 25 19:42:19 2009 +0200
+++ b/web/views/baseforms.py	Tue Aug 25 22:57:47 2009 +0200
@@ -239,7 +239,7 @@
                 w(u'</tr>')
         pendings = list(self.restore_pending_inserts(entity))
         if not pendings:
-            w(u'<tr><th>&nbsp;</th><td>&nbsp;</td></tr>')
+            w(u'<tr><th>&#160;</th><td>&#160;</td></tr>')
         else:
             for row in pendings:
                 # soon to be linked to entities
@@ -314,7 +314,7 @@
                                   % (rschema, entity.eid, js,
                                      self.req.__('add a %s' % targettype)))
                     result.append(u'</div>')
-                    result.append(u'<div class="trame_grise">&nbsp;</div>')
+                    result.append(u'<div class="trame_grise">&#160;</div>')
                 result.append(u'</div>')
         return '\n'.join(result)