{# Formulaire de récupération d'une facture #} {{ form_start(form, {'attr': {'enctype': 'multipart/form-data', 'method': 'post'}}) }}
{# affichage du document déjà en mémoire #} {% if pdf.filePath %}

{{ pdf.name }}

{% endif %}
{% if not pdf.filePath %}
{{ form_row(form.upload, {'attr': {'class': 'form-control form-control-lg'}}) }} {{ form_errors(form.upload) }}
{% endif %}
{{ form_row(form.lot, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.lot) }}
{{ form_row(form.operator, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.operator) }}
{{ form_row(form.comment, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.comment) }}
Revenir à la liste
{{ form_end(form) }}