web/formwidgets.py
changeset 4593 d0b5ef72a492
parent 4583 356f08325072
child 4597 e872097f2287
--- a/web/formwidgets.py	Tue Feb 16 09:24:40 2010 +0100
+++ b/web/formwidgets.py	Tue Feb 16 09:25:18 2010 +0100
@@ -318,7 +318,7 @@
                 iattrs['checked'] = u'checked'
             tag = tags.input(name=field.input_name(form, self.suffix),
                              type=self.type, value=value, **iattrs)
-            options.append(tag + label)
+            options.append(u'%s %s' % (tag, label))
         return sep.join(options)