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

@@ -4,11 +4,17 @@
</div>
<div class="row">
{% block role_form %}
{% include "forms/inputs/role-name.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_role_name %}
{% include "forms/inputs/role-name.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
{% include "forms/inputs/role-slug.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_role_slug %}
{% include "forms/inputs/role-slug.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
{% include "forms/inputs/role-description.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_role_description %}
{% include "forms/inputs/role-description.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
{% endblock %}
</div><br>
<div class="row">