diff --git a/src/Resources/views/CrudUi/create.html.twig b/src/Resources/views/CrudUi/create.html.twig index 510c118bf..98ae01951 100755 --- a/src/Resources/views/CrudUi/create.html.twig +++ b/src/Resources/views/CrudUi/create.html.twig @@ -20,11 +20,3 @@ {{ sonata_block_render_event(event_prefix ~ '.after_content', {'resource': resource}) }} {% endblock %} - -{% block stylesheets %} - {{ parent() }} - - - - {{ sonata_block_render_event(event_prefix ~ '.stylesheets') }} -{% endblock %} diff --git a/src/Resources/views/CrudUi/update.html.twig b/src/Resources/views/CrudUi/update.html.twig index ad01925d4..bb2f65af1 100755 --- a/src/Resources/views/CrudUi/update.html.twig +++ b/src/Resources/views/CrudUi/update.html.twig @@ -21,11 +21,3 @@ {{ sonata_block_render_event(event_prefix ~ '.after_content', {'resource': resource}) }} {% endblock %} - -{% block stylesheets %} - {{ parent() }} - - - - {{ sonata_block_render_event(event_prefix ~ '.stylesheets') }} -{% endblock %} diff --git a/src/Resources/views/layout.html.twig b/src/Resources/views/layout.html.twig index b1e2d0717..a1356ff3d 100644 --- a/src/Resources/views/layout.html.twig +++ b/src/Resources/views/layout.html.twig @@ -1,14 +1 @@ {% extends '@SyliusAdmin/layout.html.twig' %} - -{% block stylesheets %} - {{ parent() }} - - {% include '@SyliusUi/_stylesheets.html.twig' with {'path': 'bundles/bitbagsyliuscmsplugin/css/style.css'} %} -{% endblock %} - - -{% block javascripts %} - {{ parent() }} - - {{ sonata_block_render_event(event_prefix ~ '.javascripts') }} -{% endblock %} diff --git a/tests/Application/templates/bundles/SyliusShopBundle/layout.html.twig b/tests/Application/templates/bundles/SyliusShopBundle/layout.html.twig index 2ee28cefe..73689e292 100755 --- a/tests/Application/templates/bundles/SyliusShopBundle/layout.html.twig +++ b/tests/Application/templates/bundles/SyliusShopBundle/layout.html.twig @@ -70,8 +70,6 @@ } - {% include '@SyliusUi/_stylesheets.html.twig' with {'path': 'assets/shop/css/style.css'} %} - {{ sonata_block_render_event('sylius.shop.layout.stylesheets') }} {{ sylius_template_event('sylius.shop.layout.stylesheets') }} {% endblock %}