{% extends 'base.html.twig' %} {% block title %} = {{title}}{% endblock %} {% block body %}

{{title}}

{{ form_start(form) }} {{ form_widget(form.submit) }} Annuler {%if mode=="update" %}Supprimer{%endif%} {% include('include/error.html.twig') %}
{{ form_row(form.avatar) }} Modifier
Information
{{ form_row(form.username) }} {{ form_row(form.password) }} {{ form_row(form.email) }}
{%if form.roles is defined%}
Permissions
{{ form_row(form.roles) }} {{ form_row(form.companys) }}
{%endif%}
{{ form_end(form) }} {% endblock %} {% block localscript %} {% endblock %}