From 0fee2e612b70cd4d27a99fc270a8685a7b6ee0eb Mon Sep 17 00:00:00 2001 From: Iziram Date: Wed, 5 Jun 2024 09:27:18 +0200 Subject: [PATCH] =?UTF-8?q?Assiduit=C3=A9=20:=20ajout=5Fjustificatif=5Fetu?= =?UTF-8?q?d=20:=20bug=20non=20affichage=20btn=20enregistrer=20/=20annuler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/assiduites/pages/ajout_justificatif_etud.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/assiduites/pages/ajout_justificatif_etud.j2 b/app/templates/assiduites/pages/ajout_justificatif_etud.j2 index a6527203b..491be9a53 100644 --- a/app/templates/assiduites/pages/ajout_justificatif_etud.j2 +++ b/app/templates/assiduites/pages/ajout_justificatif_etud.j2 @@ -150,12 +150,13 @@ div.submit > input { laisser vide pour date courante {{ render_field_errors(form, 'entry_date') }} - {% if readonly == False %} + {% if not readonly %} {# Submit #}
{{ form.submit }} {{ form.cancel }}
+ {% if justif %}
input { >Supprimer le justificatif
{% endif %} + {% endif %}