[F xhml] use a class to avoid duplicated ids when editing several entities at once
--- a/web/views/formrenderers.py Wed Jul 29 10:44:55 2009 +0200
+++ b/web/views/formrenderers.py Wed Jul 29 11:10:11 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_row">' % (field.name, field.role))
+ w(u'<tr class="%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)