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

Modifier un avantage pour {{salarie.titre}} {{salarie.nom}} {{salarie.prenom}}

{{ form_start(form) }} {% if not form.vars.valid %}
    {% for child in form.children %} {% for error in child.vars.errors %}
  • {{ error.message }}
  • {% endfor %} {% endfor %}
{% endif %}
{{ form_label(form.vehiculeEntreprise, null, {'label_attr': {'class': 'form-label'}}) }} {{ form_widget(form.vehiculeEntreprise, {'attr': {'class': 'form-select'}}) }}
{{ form_label(form.badgeTelepeage, null, {'label_attr': {'class': 'form-label'}}) }} {{ form_widget(form.badgeTelepeage, {'attr': {'class': 'form-control'}}) }}
{{ form_label(form.carteTotal, null, {'label_attr': {'class': 'form-label'}}) }} {{ form_widget(form.carteTotal, {'attr': {'class': 'form-control'}}) }}
{{ form_label(form.device, null, {'label_attr': {'class': 'form-label'}}) }} {{ form_widget(form.device, {'attr': {'class': 'form-control'}}) }}
{{ form_label(form.materiels, null, {'label_attr': {'class': 'form-label'}}) }} {{ form_widget(form.materiels, {'attr': {'class': 'form-control'}}) }}
{{ form_end(form) }}
{% endblock %} {% block javascripts %} {{parent()}} {% endblock %}