| 1 | {% extends 'base.html' %} |
| 2 | {% load adminmedia %} |
| 3 | |
| 4 | {% block title %}RH - DAE - Embauche{% endblock %} |
| 5 | {% block titre %}Ressources humaines{% endblock %} |
| 6 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
| 7 | |
| 8 | {% block main %} |
| 9 | |
| 10 | <h1>Contrats</h1> |
| 11 | |
| 12 | <form action="" method="post" enctype="multipart/form-data"> |
| 13 | {{ contrats_formset.management_form }} |
| 14 | <table> |
| 15 | <thead> |
| 16 | <tr> |
| 17 | <th>Type</th> |
| 18 | <th>Fichier</th> |
| 19 | <th>Supprimer</th> |
| 20 | </tr> |
| 21 | </thead> |
| 22 | <tbody> |
| 23 | {% for form in contrats_formset.forms %} |
| 24 | <tr> |
| 25 | <td>{{ form.id }}{{ form.type }}{{ form.type.errors }}</td> |
| 26 | <td>{{ form.fichier }}{{ form.fichier.errors }}</td> |
| 27 | <td>{{ form.DELETE }}</td> |
| 28 | <td>{{ form.non_field_errors }}</td> |
| 29 | </tr> |
| 30 | {% endfor %} |
| 31 | </tbody> |
| 32 | </table> |
| 33 | <input type="submit" name="continue" value="Sauvegarder (et ajouter des lignes)" /> |
| 34 | <input type="submit" name="save" value="Sauvegarder" /> |
| 35 | </form> |
| 36 | {% endblock %} |