'Layout for S3SQLInlineComponent'

def get_ui_inline_component_layout(self):

    layout = self.ui.get('inline_component_layout')
    if (not layout):
        from s3 import S3SQLSubFormLayout
        layout = S3SQLSubFormLayout()
    elif isinstance(layout, type):
        layout = layout()
    self.ui.inline_component_layout = layout
    return layout
