Removed double hidden check by adding the col_width parameter to form inputs which generates the col div
This commit is contained in:
@@ -6,21 +6,12 @@
|
||||
{% include "forms/csrf.html.twig" %}
|
||||
|
||||
{% block settings_profile %}
|
||||
{% if 'name' not in form.fields.hidden %}
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
{% include "forms/partials/input-user-first_name.html.twig" %}
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
{% include "forms/partials/input-user-last_name.html.twig" %}
|
||||
</div>
|
||||
{% include "forms/partials/input-user-name.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
{% include "forms/partials/input-user-locale.html.twig" %}
|
||||
</div>
|
||||
{% include "forms/partials/input-user-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user