web/views/cwproperties.py
changeset 5696 98d390c28edb
parent 5556 9ab2b4c74baf
parent 5693 8af6623f3d4e
child 5819 1017163825c7
equal deleted inserted replaced
5694:ce2c108a9595 5696:98d390c28edb
   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>')