sylius_twig_hooks:
    hooks:
        'sylius_admin.tax_rate.create.content':
            form:
                component: 'sylius_admin:tax_rate:form'
                props:
                    resource: '@=_context.resource'
                    form: '@=_context.form'
                    template: '@SyliusAdmin/shared/crud/common/content/form.html.twig'
                configuration:
                    render_rest: false
                priority: 0

        'sylius_admin.tax_rate.create.content.form':
            sections:
                template: '@SyliusAdmin/tax_rate/form/sections.html.twig'
                priority: 0

        'sylius_admin.tax_rate.create.content.form.sections':
            general:
                template: '@SyliusAdmin/tax_rate/form/sections/general.html.twig'
                priority: 100
            configuration:
                template: '@SyliusAdmin/tax_rate/form/sections/configuration.html.twig'
                priority: 0

        'sylius_admin.tax_rate.create.content.form.sections.general':
            default:
                enabled: false
            code:
                template: '@SyliusAdmin/tax_rate/form/sections/general/code.html.twig'
                priority: 100
            name:
                template: '@SyliusAdmin/tax_rate/form/sections/general/name.html.twig'
                priority: 0

        'sylius_admin.tax_rate.create.content.form.sections.configuration':
            category:
                template: '@SyliusAdmin/tax_rate/form/sections/configuration/category.html.twig'
                priority: 600
            zone:
                template: '@SyliusAdmin/tax_rate/form/sections/configuration/zone.html.twig'
                priority: 500
            calculator:
                template: '@SyliusAdmin/tax_rate/form/sections/configuration/calculator.html.twig'
                priority: 400
            amount:
                template: '@SyliusAdmin/tax_rate/form/sections/configuration/amount.html.twig'
                priority: 300
            included_in_price:
                template: '@SyliusAdmin/tax_rate/form/sections/configuration/included_in_price.html.twig'
                priority: 200
            start_date:
                template: '@SyliusAdmin/tax_rate/form/sections/configuration/start_date.html.twig'
                priority: 100
            end_date:
                template: '@SyliusAdmin/tax_rate/form/sections/configuration/end_date.html.twig'
                priority: 0
