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

fields:
    code:
        label: "Code"
        comment: "Unique code used to refer to this template"
        span: left
        context: create

    name@create:
        label: "Name"
        span: right

    name@update:
        label: "Name"

secondaryTabs:
    fields:
        content_html:
            type: codeeditor
            size: giant
            tab: "HTML"
            language: html
            stretch: true

        content_css:
            type: codeeditor
            size: giant
            tab: "CSS"
            language: css
            stretch: true

        content_text:
            type: textarea
            size: giant
            tab: "Plaintext"
            stretch: true

        options[disable_auto_inline_css]:
            label: "Disable automatic inline CSS"
            type: checkbox
            tab: "Options"
            default: false

        options[disable_brand_css]:
            label: Disable mail branding CSS
            type: checkbox
            tab: "Options"
            default: false
