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

fields:
    name:
        label: rainlab.location::lang.state.name
        span: auto
        commentAbove: rainlab.location::lang.state.name_comment
    code:
        label: rainlab.location::lang.state.code
        span: auto
        commentAbove: rainlab.location::lang.state.code_comment
        preset:
            field: name
            type: slug
    is_enabled:
        label: rainlab.location::lang.locations.enabled_label
        type: checkbox
        default: true
        span: left