web/views/formrenderers.py
changeset 10163 4001cfe2f44d
parent 10006 8391bf718485
child 10434 8e04ab5582d9
--- a/web/views/formrenderers.py	Thu Jan 22 18:08:05 2015 +0100
+++ b/web/views/formrenderers.py	Fri Jan 30 15:53:32 2015 +0100
@@ -242,9 +242,9 @@
             except KeyError:
                 self.warning('no such fieldset: %s (%s)', fieldset, form)
                 continue
-            w(u'<fieldset class="%s">\n' % (fieldset or u'default'))
+            w(u'<fieldset>\n')
             if fieldset:
-                w(u'<legend>%s</legend>' % self._cw._(fieldset))
+                w(u'<legend>%s</legend>' % self._cw.__(fieldset))
             w(u'<table class="%s">\n' % self.table_class)
             for field in fields:
                 w(u'<tr class="%s_%s_row">\n' % (field.name, field.role))