{# @author: Benjamin AMOUZOU Comment: Interdiction de formater automatiquement la souce avec vscode sous peine de casser l'indentation du code jquery #} {% extends "rse/template-rse.html.twig" %} {% block titre_enfant %} Partenaire {% endblock %} {% block contenu_principal_rse %}
{% include('template-message.html.twig') %}
Edition sponsor Ecobox
{{form_label(form.denomination,"Raison sociale", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(form.denomination, {'attr': {'class': 'form-control form-control-sm mb-3'}})}}
{{form_label(form.logo,"Logo", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}}
{{form_widget(form.logo, {'attr': {'class': 'form-control-file form-control-sm pl-0'}})}}
{{form_label(form.contacts,"Contacts", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}}
{{form_widget(form.contacts, {'attr': {'class': 'form-control form-control-sm mb-3'}})}}
{#Affichage des personnes contacts#} {% for personne in form.personneContacts %}
Personne contact n° {{loop.index}}
{{form_label(personne.nom,"Nom", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(personne.nom, {'attr': {'class': 'form-control form-control-sm mb-3'}})}}
{{form_label(personne.prenoms,"Prénoms", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(personne.prenoms, {'attr': {'class': 'form-control form-control-sm mb-3'}})}}
{{form_label(personne.sexe,"Sexe", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(personne.sexe, {'attr': {'class': 'custom-select custom-select-sm'}})}}
{{form_label(personne.email,"Email", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(personne.email, {'attr': {'class': 'form-control form-control-sm mb-3'}})}}
{{form_label(personne.poste,"Fonction", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(personne.poste, {'attr': {'class': 'form-control form-control-sm mb-3'}})}}
{{form_label(personne.contacts,"Contacts", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(personne.contacts, {'attr': {'class': 'form-control form-control-sm mb-3'}})}}
{% endfor %} {#Fin affichage des personnes contacts#}
{{ form_row(form._token) }}
  Annuler
{% endblock %} {% block script %} {% endblock %}