Create shared template for content hook

This commit is contained in:
Bartłomiej Sęk 2024-11-05 08:51:49 +01:00
parent dae3e57753
commit fb8040396d
6 changed files with 3 additions and 9 deletions

View file

@ -2,7 +2,7 @@ sylius_twig_hooks:
hooks:
'sylius_shop.checkout.address':
content:
template: '@SyliusShop/checkout/address/content.html.twig'
template: '@SyliusShop/checkout/shared/content.html.twig'
priority: 0
'sylius_shop.checkout.address.content':
steps:

View file

@ -2,7 +2,7 @@ sylius_twig_hooks:
hooks:
'sylius_shop.checkout.select_payment':
content:
template: '@SyliusShop/checkout/select_payment/content.html.twig'
template: '@SyliusShop/checkout/shared/content.html.twig'
priority: 0
'sylius_shop.checkout.select_payment.content':
steps:

View file

@ -2,7 +2,7 @@ sylius_twig_hooks:
hooks:
'sylius_shop.checkout.select_shipping':
content:
template: '@SyliusShop/checkout/select_shipping/content.html.twig'
template: '@SyliusShop/checkout/shared/content.html.twig'
priority: 0
'sylius_shop.checkout.select_shipping.content':
steps:

View file

@ -1,3 +0,0 @@
<div class="pe-lg-6">
{% hook 'content' %}
</div>

View file

@ -1,3 +0,0 @@
<div class="pe-lg-6">
{% hook 'content' %}
</div>