<fieldset>
<h2>Validations</h2>
-<ul>
+<table>
+<tr>
+ <th>Action</th>
+ <th>Commentaire</th>
+</tr>
{% for commentaire in poste.historique_desc %}
- <li>{{ commentaire }}</li>
+ {% include "dae/ligne_validation.html" %}
{% endfor %}
-</ul>
+</table>
<h2>Votre validation</h2>
<p>Le poste est actuellement à l'état : <span class="note">{{ poste.get_etat_display }}</span>.</p>
<form action="" method="post">
<table>
-{{ validationForm.commentaire }}
+ {% if validationForm.get_etats_disponibles %}{{ validationForm.commentaire }}{% endif %}
</table>
{{ validationForm.get_input_etats_as_buttons|safe }}
</form>