refact ergo + page perso (vide)
[auf_rh_dae.git] / src / auf.django.emploi / auf / django / emploi / templates / recrutement / pieces.html
1 <table>
2 {% for f in piecesForm.management_form %}
3 {{ f }}
4 {% endfor %}
5 <tr>
6 <th></th>
7 {% for field in piecesForm.forms.0 %}
8 {% if not field.is_hidden %}
9 <th>{{ field.label }}</th>
10 {% endif %}
11 {% endfor %}
12 </tr>
13 {% for f in piecesForm.forms %}
14 <tr>
15 <td>
16 {{ f.errors }}
17 {% if f.initial.fichier %}
18 <a href="{{ f.initial.fichier.url }}" target="_blank">Télécharger</a>
19 {% endif %}
20 </td>
21 {% for field in f %}
22 {% if not field.is_hidden %}
23 <td>{{ field }}</td>
24 {% else %}
25 {{ field }}
26 {% endif %}
27 {% endfor %}
28 </tr>
29 {% endfor %}
30 </table>