fields:
    header:
        label: Header
        span: auto
        type: text
    has_file:
        label: 'Has file'
        span: auto
        type: switch
    note:
        label: Note
        size: small
        span: left
        type: textarea
    short_txt:
        label: 'Short txt'
        size: small
        span: right
        type: textarea
    file:
        label: File
        span: auto
        mode: file
        type: mediafinder
    file_btn:
        label: 'File Btn'
        span: auto
        type: text
tabs:
    fields:
        sub_menus:
            label: 'Sub Menu'
            prompt: 'Add new item'
            style: collapsed
            span: full
            type: repeater
            tab: 'Sub Menu'
            form:
                fields:
                    menu_img:
                        label: 'Menu Img'
                        mode: image
                        span: auto
                        type: mediafinder
                    sub_txt:
                        label: 'Sub Menu txt'
                        span: auto
                        type: text
                    sub_short:
                        label: 'Sub SHort Txt'
                        span: auto
                        type: text
                    sub_slug:
                        label: 'Sub Slug'
                        span: auto
                        type: text
                    btn_txt:
                        label: 'Button Txt'
                        span: auto
                        type: text
        img:
            label: Img
            span: auto
            mode: image
            type: mediafinder
            tab: 'MAIN IMAGE'
