'Render as HTML'

def render(self):

    value = self.value
    renderer = self.renderer
    if renderer.lazy:
        labels = renderer.bulk(renderer.lazy)
        renderer.lazy = []
    else:
        labels = renderer.theset
    if renderer.list_type:
        if (not value):
            value = []
        if self.multiple:
            if (len(value) and (type(value[0]) is not list)):
                value = [value]
            return renderer.multiple(value)
        else:
            return renderer.render_list(value, labels)
    elif self.multiple:
        return renderer.multiple(value)
    else:
        return renderer(value)
