fields:
    title:
        label: 'rainlab.blog::lang.post.title'
        span: left
        placeholder: 'rainlab.blog::lang.post.title_placeholder'
        type: text
    slug:
        label: 'rainlab.blog::lang.post.slug'
        span: right
        placeholder: 'rainlab.blog::lang.post.slug_placeholder'
        preset:
            field: title
            type: slug
        type: text
    toolbar:
        type: partial
        path: post_toolbar
        cssClass: collapse-visible
secondaryTabs:
    fields:
        content:
            tab: 'rainlab.blog::lang.post.tab_edit'
            type: RainLab\Blog\FormWidgets\BlogMarkdown
            cssClass: 'field-slim blog-post-preview'
            stretch: true
            mode: split
        categories:
            tab: 'rainlab.blog::lang.post.tab_categories'
            type: relation
            commentAbove: 'rainlab.blog::lang.post.categories_comment'
            placeholder: 'rainlab.blog::lang.post.categories_placeholder'
        published:
            tab: 'rainlab.blog::lang.post.tab_manage'
            label: 'rainlab.blog::lang.post.published'
            span: left
            type: checkbox
        user:
            tab: 'rainlab.blog::lang.post.tab_manage'
            label: 'rainlab.blog::lang.post.published_by'
            span: right
            type: dropdown
            emptyOption: 'rainlab.blog::lang.post.current_user'
        published_at:
            tab: 'rainlab.blog::lang.post.tab_manage'
            label: 'rainlab.blog::lang.post.published_on'
            span: left
            cssClass: checkbox-align
            type: datepicker
            mode: datetime
            trigger:
                action: enable
                field: published
                condition: checked
        excerpt:
            tab: 'rainlab.blog::lang.post.tab_manage'
            label: 'rainlab.blog::lang.post.excerpt'
            type: textarea
            size: small
        featured_images:
            tab: 'rainlab.blog::lang.post.tab_manage'
            label: 'rainlab.blog::lang.post.featured_images'
            type: fileupload
            mode: image
            imageWidth: 200
            imageHeight: 200
        meta_title:
            label: 'Meta title'
            span: auto
            type: text
            tab: SEO
        meta_description:
            label: 'Meta Description'
            size: large
            span: left
            type: textarea
            tab: SEO
        meta_keywords:
            label: 'Meta keywords'
            span: auto
            size: large
            type: textarea
            tab: SEO
