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

@@ -7,11 +7,15 @@
{% block settings_profile %}
<div class="row">
{% include "forms/inputs/user-name.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_user_name %}
{% include "forms/inputs/user-name.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
</div>
<div class="row">
{% include "forms/inputs/user-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
{% block input_user_locale %}
{% include "forms/inputs/user-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %}
</div>
{% endblock %}
</div>