{% import '/admin/components/helpers_macro.html.twig' as helpers %}
{{ helpers.field(form.email) }}
{{ helpers.field(form.roles) }}
{% if not isEdit %} {{ form_label(form.password) }}
{{ form_widget(form.password.first, {attr: {placeholder: 'Password'}}) }}
{{ form_widget(form.password.second, {attr: {placeholder: 'Retype the password'}}) }}
Initially this password will be used to authenticate the user. Later the user is able to change this password for a new one.
{{ helpers.passwordFormatHelper() }}
{% endif %}
{{ form_label(form.active) }}
{{ form_widget(form.active) }} {% if form.active.vars.attr.help ?? false %}
{{ form.active.vars.attr.help }}
{% endif %}
{% if isEdit %}

Update password
{% endif %}