{% for f in piecesForm.management_form %} {{ f }} {% endfor %} {% for field in piecesForm.forms.0 %} {% if not field.is_hidden %} {% endif %} {% endfor %} {% for f in piecesForm.forms %} {% for field in f %} {% if not field.is_hidden %} {% else %} {{ field }} {% endif %} {% endfor %} {% endfor %}
{{ field.label }}
{{ f.errors }} {% if f.initial.fichier %} Télécharger {% endif %} {{ field }}