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

INFORMATIONS

{{app.User.entreprise.nom}}

{{ form_start(registrationForm) }} {{ form_row(registrationForm.Email) }} {{form_row(registrationForm.name, { label:'Prénom' }) }} {{form_row(registrationForm.surname, { label: 'Nom' }) }} {% if is_granted('ROLE_COMMERCIAL') or is_granted('ROLE_OPERATEUR') %} {{form_row(registrationForm.tel, { label: 'Téléphone' }) }} {% else %} {{form_row(registrationForm.tel, { label: 'Téléphone', 'class': 'hidden' }) }} {% endif %} {{ form_row(registrationForm.plainPassword, { label: 'Nouveau mot de passe' }) }}
{{form_row(registrationForm.inputPassword, { label: 'Mot de passe actuel' })}}
{{ form_end(registrationForm) }}
{% endblock %} {% block javascripts %} {% endblock %}