diff --git a/templates/forms/partials/input-user-current_password.html.twig b/templates/forms/partials/input-user-current_password.html.twig index 80c2240..7e9c6d8 100644 --- a/templates/forms/partials/input-user-current_password.html.twig +++ b/templates/forms/partials/input-user-current_password.html.twig @@ -1,11 +1,13 @@ {% block input_user_current_password %} {% if 'password' not in form.fields.hidden %} -
- -
- - -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/partials/input-user-email.html.twig b/templates/forms/partials/input-user-email.html.twig index 85de419..4dd4f62 100644 --- a/templates/forms/partials/input-user-email.html.twig +++ b/templates/forms/partials/input-user-email.html.twig @@ -1,18 +1,20 @@ {% block input_user_email %} {% if 'email' not in form.fields.hidden %} -
- -
- - - {% if 'email' in form.fields.disabled %} - {% if 'copy' not in form.fields.disabled %} - - - - {% endif %} - {% endif %} -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + + {% if 'email' in form.fields.disabled %} + {% if 'copy' not in form.fields.disabled %} + + + + {% endif %} + {% endif %} +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/partials/input-user-first_name.html.twig b/templates/forms/partials/input-user-first_name.html.twig index b8bb37a..cc3c547 100644 --- a/templates/forms/partials/input-user-first_name.html.twig +++ b/templates/forms/partials/input-user-first_name.html.twig @@ -1,11 +1,13 @@ {% block input_user_first_name %} {% if 'first_name' not in form.fields.hidden %} -
- -
- - -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/partials/input-user-group.html.twig b/templates/forms/partials/input-user-group.html.twig index f929c43..7669e13 100644 --- a/templates/forms/partials/input-user-group.html.twig +++ b/templates/forms/partials/input-user-group.html.twig @@ -1,21 +1,23 @@ {% block input_user_group %} {% if 'group' not in form.fields.hidden %} -
- -
- - {% if 'group' in form.fields.disabled %} - - {% else %} - - {% endif %} -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + {% if 'group' in form.fields.disabled %} + + {% else %} + + {% endif %} +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/partials/input-user-last_name.html.twig b/templates/forms/partials/input-user-last_name.html.twig index 2ae6005..5c92a70 100644 --- a/templates/forms/partials/input-user-last_name.html.twig +++ b/templates/forms/partials/input-user-last_name.html.twig @@ -1,11 +1,13 @@ {% block input_user_last_name %} {% if 'last_name' not in form.fields.hidden %} -
- -
- - -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/partials/input-user-locale.html.twig b/templates/forms/partials/input-user-locale.html.twig index a4539c7..233aa13 100644 --- a/templates/forms/partials/input-user-locale.html.twig +++ b/templates/forms/partials/input-user-locale.html.twig @@ -1,19 +1,21 @@ {% block input_user_locale %} {% if 'locale' not in form.fields.hidden %} -
- -
- - {% if 'locale' in form.fields.disabled %} - - {% else %} - - {% endif %} -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + {% if 'locale' in form.fields.disabled %} + + {% else %} + + {% endif %} +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/partials/input-user-new_password.html.twig b/templates/forms/partials/input-user-new_password.html.twig index 7a58aa8..f80bf49 100644 --- a/templates/forms/partials/input-user-new_password.html.twig +++ b/templates/forms/partials/input-user-new_password.html.twig @@ -1,18 +1,20 @@ {% block input_user_new_password %} {% if 'password' not in form.fields.hidden %} -
- -
- - -
-
-
- -
- - -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + +
+
+
+ +
+ + +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/partials/input-user-theme.html.twig b/templates/forms/partials/input-user-theme.html.twig index 03a6a74..74f84af 100644 --- a/templates/forms/partials/input-user-theme.html.twig +++ b/templates/forms/partials/input-user-theme.html.twig @@ -1,19 +1,21 @@ {% block input_user_theme %} {% if 'theme' not in form.fields.hidden %} -
- -
- - {% if 'theme' in form.fields.disabled %} - - {% else %} - - {% endif %} -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + {% if 'theme' in form.fields.disabled %} + + {% else %} + + {% endif %} +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/partials/input-user-user_name.html.twig b/templates/forms/partials/input-user-user_name.html.twig index f8b5a35..b9b689c 100644 --- a/templates/forms/partials/input-user-user_name.html.twig +++ b/templates/forms/partials/input-user-user_name.html.twig @@ -1,11 +1,13 @@ {% block input_user_user_name %} {% if 'user_name' not in form.fields.hidden %} -
- -
- - -
-
+ {% if col_width %}
{% endif %} +
+ +
+ + +
+
+ {% if col_width %}
{% endif %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/forms/settings-account.html.twig b/templates/forms/settings-account.html.twig index 6adc001..fbd6006 100644 --- a/templates/forms/settings-account.html.twig +++ b/templates/forms/settings-account.html.twig @@ -10,23 +10,19 @@ {% block settings_account %}
-
- {% include "forms/partials/input-user-email.html.twig" %} -
+ {% include "forms/partials/input-user-email.html.twig" with { 'col_width': 'col-sm-12' } %}
-
- {% include "forms/partials/input-user-new_password.html.twig" %} -
+ {% include "forms/partials/input-user-new_password.html.twig" with { 'col_width': 'col-sm-12' } %}
+ {% if 'password' not in form.fields.hidden %}
{% endif %} +
-
- {% include "forms/partials/input-user-current_password.html.twig" %} -
+ {% include "forms/partials/input-user-current_password.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %} diff --git a/templates/forms/settings-profile.html.twig b/templates/forms/settings-profile.html.twig index 92b4247..cc8cc72 100644 --- a/templates/forms/settings-profile.html.twig +++ b/templates/forms/settings-profile.html.twig @@ -6,21 +6,12 @@ {% include "forms/csrf.html.twig" %} {% block settings_profile %} - {% if 'name' not in form.fields.hidden %}
-
- {% include "forms/partials/input-user-first_name.html.twig" %} -
-
- {% include "forms/partials/input-user-last_name.html.twig" %} -
+ {% include "forms/partials/input-user-name.html.twig" with { 'col_width': 'col-sm-12' } %}
- {% endif %}
-
- {% include "forms/partials/input-user-locale.html.twig" %} -
+ {% include "forms/partials/input-user-locale.html.twig" with { 'col_width': 'col-sm-12' } %}
{% endblock %} diff --git a/templates/forms/user.html.twig b/templates/forms/user.html.twig index 4207812..e937e85 100644 --- a/templates/forms/user.html.twig +++ b/templates/forms/user.html.twig @@ -1,44 +1,17 @@ {% extends "@admin/forms/user.html.twig" %} {% block user_form %} - {% if 'user_name' not in form.fields.hidden %} -
- {% include "forms/partials/input-user-user_name.html.twig" %} -
- {% endif %} + {% include "forms/partials/input-user-user_name.html.twig" with { 'col_width': 'col-sm-6' } %} - {% if 'group' not in form.fields.hidden %} -
- {% include "forms/partials/input-user-group.html.twig" %} -
- {% endif %} + {% include "forms/partials/input-user-group.html.twig" with { 'col_width': 'col-sm-6' } %} - {% if 'name' not in form.fields.hidden %} -
- {% include "forms/partials/input-user-first_name.html.twig" %} -
-
- {% include "forms/partials/input-user-last_name.html.twig" %} -
- {% endif %} + {% include "forms/partials/input-user-name.html.twig" with { 'col_width': 'col-sm-12' } %} - {% if 'email' not in form.fields.hidden %} -
- {% include "forms/partials/input-user-email.html.twig" %} -
- {% endif %} + {% include "forms/partials/input-user-email.html.twig" with { 'col_width': 'col-sm-6' } %} - {% if 'theme' not in form.fields.hidden %} -
- {% include "forms/partials/input-user-theme.html.twig" %} -
- {% endif %} + {% include "forms/partials/input-user-theme.html.twig" with { 'col_width': 'col-sm-6' } %} - {% if 'locale' not in form.fields.hidden %} -
- {% include "forms/partials/input-user-locale.html.twig" %} -
- {% endif %} + {% include "forms/partials/input-user-locale.html.twig" with { 'col_width': 'col-sm-6' } %} {% if 'password' not in form.fields.hidden %} {% include "forms/partials/user-set-password.html.twig" %}