'This lays the label widget that is passed in on the screen.
Currently it has a single default layout mechanism but in the
future it will be possible to add more which will be controlled
vis the attr passed into display and stored in self.attr'

def layout(self, label, widget, **attr):

    if ('display' in attr):
        display = attr['display']
    else:
        display = 'Default'
    if (display == 'Default'):
        elements = []
        elements.append(TR(TH(label), TD(widget), _class='survey_question'))
        return TAG[''](elements)
    elif (display == 'Control    Only'):
        return TD(widget)
