web/views/cwproperties.py
branchstable
changeset 5693 8af6623f3d4e
parent 5535 b32b8f56192a
child 5696 98d390c28edb
equal deleted inserted replaced
5692:59ceed788bdb 5693:8af6623f3d4e
   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>')