Block definitions should be at the top level, not the included level

This commit is contained in:
2023-06-05 11:52:09 +01:00
parent 9b229fc6ee
commit 83bf9a7307
29 changed files with 99 additions and 93 deletions

View File

@@ -1,11 +1,19 @@
{% extends "@admin/forms/group.html.twig" %}
{% block group_form %}
{% include "forms/inputs/group-name.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_group_name %}
{% include "forms/inputs/group-name.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
{% include "forms/inputs/group-slug.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_group_slug %}
{% include "forms/inputs/group-slug.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
{% include "forms/inputs/group-icon.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_group_icon %}
{% include "forms/inputs/group-icon.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
{% include "forms/inputs/group-description.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_group_description %}
{% include "forms/inputs/group-description.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
{% endblock %}