oops stable
authorFlorent <florent@secondweb.fr>
Tue, 19 May 2009 17:13:01 +0200
branchstable
changeset 1874 8c68a3bb02af
parent 1873 e96f50e52099
child 1875 7bcb02377516
oops
web/formwidgets.py
--- a/web/formwidgets.py	Tue May 19 17:05:54 2009 +0200
+++ b/web/formwidgets.py	Tue May 19 17:13:01 2009 +0200
@@ -200,7 +200,7 @@
     def render(self, form, field):
         name, curvalues, attrs = self._render_attrs(form, field)
         domid = attrs.pop('id', None)
-        sep = attrs.get('separator', u'<br/>')
+        sep = attrs.pop('separator', u'<br/>')
         options = []
         for i, (label, value) in enumerate(field.vocabulary(form)):
             iattrs = attrs.copy()