mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Merge pull request #8131 from emodric/pre_post_content_blocks
Add pre & post content blocks to UiBundle layouts
This commit is contained in:
commit
444c6f95ca
2 changed files with 12 additions and 0 deletions
|
|
@ -16,9 +16,15 @@
|
|||
{% endblock %}
|
||||
</head>
|
||||
<body class="centered">
|
||||
{% block pre_content %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
|
||||
{% block post_content %}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{% endblock %}
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue