{% import "@component/_template/_html_macro.html.twig" as macros %}{% if componentKey is not defined %}{% set componentKey = "form_with_group" %}{% endif %}{% for k,group in formConfig.groups %}{% set groupKey = componentKey ~ '.' ~ k %}<div class="{{ group.wrapper }}">{% embed '@component/_template/_atom_wrapper.html.twig' with {value: group.title, atom_key: groupKey ~ '.link'} %}{% block atom %}{% include '@component/atom/title.html.twig' with {'title': value} %}{% endblock atom %}{% endembed %}{% for key, fieldOptions in group.fields %}{% if key not in ['_token','submit'] and form[key] is defined %}{{ macros.formRow(form[key], fieldOptions, formConfig.label_color) }}{% endif %}{% endfor %}</div>{% endfor %}{% if 'submit' not in form.children|keys %}<small class="{% if formConfig.submit.required is defined %}{{ formConfig.submit.required }}{% endif %}">* {{ 'info.contact.required'|trans }}</small><div class="d-flex no-gutters {{ formConfig.submit.wrapper }}"><div class="{{ formConfig.submit.label }}"></div><div class="{{ formConfig.submit.input }}"><button type="submit" class="{{ formConfig.submit.button.class }}" name="form_button" value="signin">{{ formConfig.submit.button.content }}</button></div></div>{% endif %}<div class="d-none">{{ form_rest(form) }}</div>