Merge pull request #8131 from emodric/pre_post_content_blocks

Add pre & post content blocks to UiBundle layouts
This commit is contained in:
Kamil Kokot 2017-06-05 16:07:17 +02:00 committed by GitHub
commit 444c6f95ca
2 changed files with 12 additions and 0 deletions

View file

@ -16,9 +16,15 @@
{% endblock %}
</head>
<body class="centered">
{% block pre_content %}
{% endblock %}
{% block content %}
{% endblock %}
{% block post_content %}
{% endblock %}
{% block javascripts %}
{% endblock %}
</body>

View file

@ -30,8 +30,14 @@
<div id="content">
{% include '@SyliusUi/_flashes.html.twig' %}
{% block pre_content %}
{% endblock %}
{% block content %}
{% endblock %}
{% block post_content %}
{% endblock %}
</div>
</div>
</div>