# ===================================
#  Form Field Definitions
# ===================================

fields:
    name:
        label: vojtasvoboda.brands::lang.fields.brand.name
        span: left
    slug:
        label: vojtasvoboda.brands::lang.fields.brand.slug
        span: right
        preset:
            field: name
            type: slug
tabs:
    fields:
        description:
            tab: vojtasvoboda.brands::lang.fields.brand.description
            label: vojtasvoboda.brands::lang.fields.brand.description
            type: richeditor
        logo:
            tab: vojtasvoboda.brands::lang.fields.brand.images
            label: vojtasvoboda.brands::lang.fields.brand.logo
            type: fileupload
            mode: image
            imageWidth: 100
            imageHeight: 100
        images:
            tab: vojtasvoboda.brands::lang.fields.brand.images
            label: vojtasvoboda.brands::lang.fields.brand.gallery
            type: fileupload
            mode: image
        categories:
            tab: vojtasvoboda.brands::lang.fields.brand.categories
            label: vojtasvoboda.brands::lang.fields.brand.categories
            type: relation
            nameFrom: name

# ===================================
#  Form Field Definitions
# ===================================

fields:
    name:
        label: vojtasvoboda.brands::lang.fields.brand.name
        span: left
    slug:
        label: vojtasvoboda.brands::lang.fields.brand.slug
        span: right
        preset:
            field: name
            type: slug
tabs:
    fields:
        description:
            tab: vojtasvoboda.brands::lang.fields.brand.description
            label: vojtasvoboda.brands::lang.fields.brand.description
            type: richeditor
        categories:
            tab: vojtasvoboda.brands::lang.fields.brand.categories
            label: vojtasvoboda.brands::lang.fields.brand.categories
            type: relation
            nameFrom: name
        logo:
            tab: vojtasvoboda.brands::lang.fields.brand.images
            label: vojtasvoboda.brands::lang.fields.brand.logo
            type: fileupload
            mode: image
            imageWidth: 100
            imageHeight: 100
        images:
            tab: vojtasvoboda.brands::lang.fields.brand.images
            label: vojtasvoboda.brands::lang.fields.brand.gallery
            type: fileupload
            mode: image

Move categories closer to description
Move categories closer to description
