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)

    # -------------------------------------------------------------------------
Join a rabbit cluster
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3QuestionTypeAbstractWidget.layout--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/rabbitmq.py/join_cluster