{# added for the team project form, to show divider for the customer name between all projects #} {% block choice_widget_expanded -%} {%- if '-inline' in label_attr.class|default('') -%} {%- for child in form %} {{- form_widget(child, { parent_label_class: label_attr.class|default(''), translation_domain: choice_translation_domain, }) -}} {% endfor -%} {%- else -%}
{{ 'team.configure_teamlead.help'|trans }}
{{ form_widget(form, {row_attr: {class: 'mb-1'}}) }} {% endblock %} {% block team_member_row %} {{ form_widget(form) }} {% endblock %} {% block team_member_widget %} {% import 'macros/widgets.html.twig' as widgets%} {% set data = {} %} {% set user = null %} {% if form.vars.data is not null and form.vars.data.user is not null %} {% set user = form.vars.data.user %} {% set data = {id: user.id, color: user.color|colorize(user.displayName), title: user.title, username: user.userIdentifier, alias: user.alias, initials: user.initials, accountnumber: user.accountNumber, display: user.displayName} %} {% endif %}