{{ form_start(form) }}
{{ form_label(form.firstName) }}
{{ form_widget(form.firstName) }}
{% include 'partial/flash/form_errors.html.twig' with { 'errors': form.firstName.vars.errors } %}
{{ form_label(form.lastName) }}
{{ form_widget(form.lastName) }}
{% include 'partial/flash/form_errors.html.twig' with { 'errors': form.lastName.vars.errors } %}
{{ form_label(form.email) }}
{{ form_widget(form.email) }}
{% include 'partial/flash/form_errors.html.twig' with { 'errors': form.email.vars.errors } %}
{{ form_label(form.password) }}
{{ form_widget(form.password) }}
{% include 'partial/flash/form_errors.html.twig' with { 'errors': form.password.vars.errors } %}
{{ form_end(form) }}
{% include 'partial/flash/flash.html.twig' %}
Nom |
Prenom |
Rôle |
Email |
Date création |
Action |
{% for user in users %}
{% if 'ROLE_SUPER_ADMIN' not in user.roles %}
{{user.firstName}} |
{{user.lastName}} |
{{user.roles | join(', ')}} |
{{user.email}} |
{{user.createdAt | date('d/m/Y H:i:s')}} |
{% if user.id != app.user.id%}
{% endif%}
|
{% endif %}
{% endfor %}
Nom |
Prenom |
Rôle |
Email |
Date création |
Action |