599cf670659d317b9a501d8ae75b6f3a6f6f4aa9
[auf_rh_dae.git] / project / dae / templates / dae / 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 {% if f.initial.fichier %}
17 <a href="{{ f.initial.fichier.url }}" target="_blank">Télécharger</a>
18 {% endif %}
19 </td>
20 {% for field in f %}
21 {% if not field.is_hidden %}
22 <td>{{ field }}</td>
23 {% else %}
24 {{ field }}
25 {% endif %}
26 {% endfor %}
27 </tr>
28 {% endfor %}
29 </table>