sylius_twig_hooks:
    hooks:
        'sylius_admin.catalog_promotion.create.content':
            form:
                component: 'sylius_admin:catalog_promotion:form'
                props:
                    resource: '@=_context.resource'
                    form: '@=_context.form'
                    template: "@SyliusAdmin/catalog_promotion/form.html.twig"
                priority: 0

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

        'sylius_admin.catalog_promotion.create.content.form.sections':
            general:
                template: '@SyliusAdmin/catalog_promotion/form/sections/general.html.twig'
                priority: 300
            configuration:
                template: '@SyliusAdmin/catalog_promotion/form/sections/configuration.html.twig'
                priority: 200
            translations:
                template: '@SyliusAdmin/catalog_promotion/form/sections/translations.html.twig'
                priority: 100
            scopes_and_actions:
                template: '@SyliusAdmin/catalog_promotion/form/sections/scopes_and_actions.html.twig'
                priority: 0
            
        'sylius_admin.catalog_promotion.create.content.form.sections.translations':
            label:
                template: '@SyliusAdmin/catalog_promotion/form/sections/translations/label.html.twig'
                priority: 100
            description:
                template: '@SyliusAdmin/catalog_promotion/form/sections/translations/description.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.create.content.form.sections.general':
            default:
                enabled: false
            code:
                template: '@SyliusAdmin/catalog_promotion/form/sections/general/code.html.twig'
                priority: 200
            name:
                template: '@SyliusAdmin/catalog_promotion/form/sections/general/name.html.twig'
                priority: 100
            channels:
                template: '@SyliusAdmin/catalog_promotion/form/sections/general/channels.html.twig'
                priority: 0
            
        'sylius_admin.catalog_promotion.create.content.form.sections.configuration#left':
            priority:
                template: '@SyliusAdmin/catalog_promotion/form/sections/configuration/priority.html.twig'
                priority: 200
            start_date:
                template: '@SyliusAdmin/catalog_promotion/form/sections/configuration/start_date.html.twig'
                priority: 100
            end_date:
                template: '@SyliusAdmin/catalog_promotion/form/sections/configuration/end_date.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.create.content.form.sections.configuration#right':
            header:
                template: '@SyliusAdmin/catalog_promotion/form/sections/configuration/header.html.twig'
                priority: 200
            coupon_based:
                template: '@SyliusAdmin/catalog_promotion/form/sections/configuration/enabled.html.twig'
                priority: 100
            exclusive:
                template: '@SyliusAdmin/catalog_promotion/form/sections/configuration/exclusive.html.twig'
                priority: 0

        'sylius_admin.catalog_promotion.create.content.form.sections.scopes_and_actions':
            scopes:
                template: '@SyliusAdmin/catalog_promotion/form/sections/scopes_and_actions/scopes.html.twig'
                priority: 100
            actions:
                template: '@SyliusAdmin/catalog_promotion/form/sections/scopes_and_actions/actions.html.twig'
                priority: 0
