{{ user.name }}
{{ user.company.name }}
- N° GSM {{ user.gsm }}
- Adresse {{ user.address }} {% if is_granted("ROLE_USER") %}
- Envoi DCP {% if user.isAllowedSendDcp == true %} AUTORISE {% else %} NON AUTORISE {% endif %} {% endif %}
{% for message in app.flashes('success') %}
{% endfor %}
{{ message }}
{% endfor %}
{{ form_start(form, {'attr': {'class': 'form-horizontal'}}) }}
{{ form_row(form.username, {'attr': {'class': 'form-control', 'readonly': 'readonly'}}) }}
{#{ form_label(form.name, {'attr': {'class': 'col-sm-2 col-form-label'}}) }#}
{{ form_row(form.name, {'attr': {'class': 'form-control', 'readonly': 'readonly'}}) }}
{{ form_row(form.gsm, {'attr': {'class': 'form-control', 'readonly': 'readonly'}}) }}
#}
{{ form_end(form) }}
{{ form_row(form.address, {'attr': {'class': 'form-control', 'readonly': 'readonly'}}) }}
{#{% if is_granted("ROLE_USER") %}
#}{#{ form_row(form.is_allowed_send_dcp, {'attr': {'class': 'form-control', 'readonly': 'readonly'}}) }#}{#
{{ form_label(form.is_allowed_send_dcp) }}{{ form_widget(form.is_allowed_send_dcp) }}
{% endif %}#}
{{ form_rest(form) }}
{#