equal
deleted
inserted
replaced
197 w(u'<fieldset class="%s">' % (fieldset or u'default')) |
197 w(u'<fieldset class="%s">' % (fieldset or u'default')) |
198 if fieldset: |
198 if fieldset: |
199 w(u'<legend>%s</legend>' % self.req._(fieldset)) |
199 w(u'<legend>%s</legend>' % self.req._(fieldset)) |
200 w(u'<table class="%s">' % self.table_class) |
200 w(u'<table class="%s">' % self.table_class) |
201 for field in fields: |
201 for field in fields: |
202 w(u'<tr id="%s_%s">' % (field.name, field.role)) |
202 w(u'<tr id="%s_%s_row">' % (field.name, field.role)) |
203 if self.display_label: |
203 if self.display_label: |
204 w(u'<th class="labelCol">%s</th>' % self.render_label(form, field)) |
204 w(u'<th class="labelCol">%s</th>' % self.render_label(form, field)) |
205 error = form.form_field_error(field) |
205 error = form.form_field_error(field) |
206 if error: |
206 if error: |
207 w(u'<td class="error">') |
207 w(u'<td class="error">') |