<fieldset>
<h2>Pièces jointes</h2>
<ul>
-{% for pj in poste.postepiece_set.all %}
+{% for pj in poste.dae_pieces.all %}
<li><a href="{% url poste_piece pj.id pj.fichier.name|basename %}">{{ pj.nom }}</a></li>
{% endfor %}
</ul>
<fieldset>
<h2>Financement</h2>
- {% if poste.financements.count > 0 %}
+ {% if poste.dae_financements.count > 0 %}
<table>
<thead>
<tr>
</tr>
</thead>
<tbody>
- {% for f in poste.financements.all %}
+ {% for f in poste.dae_financements.all %}
<tr>
<td>{{ f.get_type_display }}</td>
<td>{{ f.pourcentage|floatformat:0 }} %</td>