[F xhtml] avoid duplicated id
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 29 Jul 2009 09:08:26 +0200
changeset 2550 4e009026a0f0
parent 2549 3d8c62e5e2d4
child 2551 91f579b7a1e1
[F xhtml] avoid duplicated id
web/views/formrenderers.py
--- a/web/views/formrenderers.py	Wed Jul 29 09:08:04 2009 +0200
+++ b/web/views/formrenderers.py	Wed Jul 29 09:08:26 2009 +0200
@@ -199,7 +199,7 @@
                 w(u'<legend>%s</legend>' % self.req._(fieldset))
             w(u'<table class="%s">' % self.table_class)
             for field in fields:
-                w(u'<tr id="%s_%s">' % (field.name, field.role))
+                w(u'<tr id="%s_%s_row">' % (field.name, field.role))
                 if self.display_label:
                     w(u'<th class="labelCol">%s</th>' % self.render_label(form, field))
                 error = form.form_field_error(field)