sylius_grid:
    grids:
        sylius_admin_country:
            driver:
                name: doctrine/orm
                options:
                    class: "%sylius.model.country.class%"
            sorting:
                code: asc
            fields:
                name:
                    type: twig
                    label: sylius.ui.name
                    path: .
                    sortable: code
                    options:
                        template: "@SyliusAdmin/country/grid/field/name.html.twig"
                code:
                    type: twig
                    label: sylius.ui.code
                    sortable: ~
                    options:
                        template: "@SyliusAdmin/shared/grid/field/code.html.twig"
                enabled:
                    type: twig
                    label: sylius.ui.enabled
                    sortable: ~
                    options:
                        template: "@SyliusAdmin/shared/grid/field/boolean.html.twig"
                        vars:
                            th_class: "w-1 text-center"
            filters:
                code:
                    type: string
                    label: sylius.ui.code
                enabled:
                    type: boolean
                    label: sylius.ui.enabled
            actions:
                main:
                    create:
                        type: create
                item:
                    update:
                        type: update
