Removed double hidden check by adding the col_width parameter to form inputs which generates the col div
This commit is contained in:
@@ -10,23 +10,19 @@
|
||||
|
||||
{% block settings_account %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
{% include "forms/partials/input-user-email.html.twig" %}
|
||||
</div>
|
||||
{% include "forms/partials/input-user-email.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
{% include "forms/partials/input-user-new_password.html.twig" %}
|
||||
</div>
|
||||
{% include "forms/partials/input-user-new_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
</div>
|
||||
|
||||
{% if 'password' not in form.fields.hidden %}
|
||||
<hr>
|
||||
{% endif %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
{% include "forms/partials/input-user-current_password.html.twig" %}
|
||||
</div>
|
||||
{% include "forms/partials/input-user-current_password.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user