- avatars via css only - random colors for entities - improves print view - added colors for teams - added color to tag
19 lines
653 B
Twig
19 lines
653 B
Twig
{% extends 'user/layout.html.twig' %}
|
|
|
|
{% block profile_content %}
|
|
|
|
{{ form_start(form) }}
|
|
{% for section in sections %}
|
|
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
|
|
{% block box_body %}
|
|
{% for pref in form.children.preferences|filter(pref => pref.vars.data.section == section)|sort((a, b) => a.vars.data.order <=> b.vars.data.order) %}
|
|
{{ form_row(pref) }}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
{% endembed %}
|
|
{% endfor %}
|
|
<input type="submit" value="{{ 'action.save'|trans }}" class="btn btn-primary" />
|
|
{{ form_end(form) }}
|
|
|
|
{% endblock %}
|