Block definitions should be at the top level, not the included level
This commit is contained in:
@@ -10,11 +10,15 @@
|
||||
|
||||
{% block settings_account %}
|
||||
<div class="row">
|
||||
{% include "forms/inputs/user-email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% block input_user_email %}
|
||||
{% include "forms/inputs/user-email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{% include "forms/inputs/user-new_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% block input_user_new_password %}
|
||||
{% include "forms/inputs/user-new_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
{% if 'password' not in form.fields.hidden %}
|
||||
@@ -22,7 +26,9 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="row">
|
||||
{% include "forms/inputs/user-current_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% block input_user_current_password %}
|
||||
{% include "forms/inputs/user-current_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user