From b66a61addb6c8e66cb26fcf74b532d68891267e4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 23 May 2018 22:23:28 +0200 Subject: Refactored code, many fixes and improvements in chat backend+frontend --- .../sprinkles/admin/templates/forms/user.html.twig | 181 +++++++++++---------- 1 file changed, 99 insertions(+), 82 deletions(-) (limited to 'main/app/sprinkles/admin/templates/forms/user.html.twig') diff --git a/main/app/sprinkles/admin/templates/forms/user.html.twig b/main/app/sprinkles/admin/templates/forms/user.html.twig index 3ee7fc9..e42cc6d 100644 --- a/main/app/sprinkles/admin/templates/forms/user.html.twig +++ b/main/app/sprinkles/admin/templates/forms/user.html.twig @@ -1,125 +1,142 @@ -
+ {% include "forms/csrf.html.twig" %}
{% block user_form %} {% if 'user_name' not in form.fields.hidden %} -
-
- -
- - +
+
+ +
+ + +
-
{% endif %} {% if 'group' not in form.fields.hidden %} -
-
- -
- - {% if 'group' in form.fields.disabled %} - - {% else %} - - {% endif %} +
+
+ +
+ + {% if 'group' in form.fields.disabled %} + + {% else %} + + {% endif %} +
-
{% endif %} {% if 'name' not in form.fields.hidden %} -
-
- -
- - +
+
+ +
+ + +
-
-
-
- -
- - +
+
+ +
+ + +
-
{% endif %} {% if 'email' not in form.fields.hidden %} -
-
- -
- - - {% if 'email' in form.fields.disabled %} - - +
+
+ +
+ + + {% if 'email' in form.fields.disabled %} + + - {% endif %} + {% endif %} +
-
{% endif %} {% if 'theme' not in form.fields.hidden %} -
-
- -
- - {% if 'theme' in form.fields.disabled %} - - {% else %} - - {% endif %} +
+
+ +
+ + {% if 'theme' in form.fields.disabled %} + + {% else %} + + {% endif %} +
-
{% endif %} {% if 'locale' not in form.fields.hidden %} -
-
- -
- - {% if 'locale' in form.fields.disabled %} - - {% else %} - - {% endif %} +
+
+ +
+ + {% if 'locale' in form.fields.disabled %} + + {% else %} + + {% endif %} +
-
{% endif %} {% endblock %} -

+
+
- +
- +
-- cgit v1.2.3