watch out, there's some tabs hiding here and there, keep your eyes open ...
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Sun, 31 May 2009 19:53:41 +0200
changeset 2018 5abd684d5b9d
parent 2017 4090a9546ea3
child 2019 399a930e10ef
child 2020 fe437afc8fb7
watch out, there's some tabs hiding here and there, keep your eyes open ...
web/views/cwproperties.py
web/widgets.py
--- a/web/views/cwproperties.py	Sat May 30 00:42:35 2009 +0200
+++ b/web/views/cwproperties.py	Sun May 31 19:53:41 2009 +0200
@@ -217,7 +217,7 @@
                                                 eidparam=True))
         subform.vreg = self.vreg
         subform.form_add_hidden('pkey', key, eidparam=True)
- 	subform.form_add_hidden("current-value:%s" % entity.eid,)
+        subform.form_add_hidden("current-value:%s" % entity.eid,)
         form.form_add_subform(subform)
         return subform
 
--- a/web/widgets.py	Sat May 30 00:42:35 2009 +0200
+++ b/web/widgets.py	Sun May 31 19:53:41 2009 +0200
@@ -153,7 +153,7 @@
         if example:
             help.append(u'<span>(%s: %s)</span>'
                         % (req._('sample format'), example))
-	help.append(u'</div>')
+        help.append(u'</div>')
         return u'&nbsp;'.join(help)
 
     def render_example(self, req):