equal
deleted
inserted
replaced
380 w(u'<div class="preffield">\n') |
380 w(u'<div class="preffield">\n') |
381 if self.display_label: |
381 if self.display_label: |
382 w(u'%s' % self.render_label(form, field)) |
382 w(u'%s' % self.render_label(form, field)) |
383 error = form.field_error(field) |
383 error = form.field_error(field) |
384 if error: |
384 if error: |
385 w(u'<span class="error">%s</span>' % err) |
385 w(u'<span class="error">%s</span>' % error) |
386 w(u'%s' % self.render_help(form, field)) |
386 w(u'%s' % self.render_help(form, field)) |
387 w(u'<div class="prefinput">') |
387 w(u'<div class="prefinput">') |
388 w(field.render(form, self)) |
388 w(field.render(form, self)) |
389 w(u'</div>') |
389 w(u'</div>') |
390 w(u'</div>') |
390 w(u'</div>') |