From 9caa6bf75dfbb2437cd544449b7285de1bc86acc Mon Sep 17 00:00:00 2001 From: Iziram Date: Tue, 20 Aug 2024 15:04:09 +0200 Subject: [PATCH] fix taille champs desc / raison et modimpl form assiduite --- app/templates/assiduites/pages/ajout_assiduite_etud.j2 | 4 ++-- app/templates/assiduites/pages/ajout_justificatif_etud.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/assiduites/pages/ajout_assiduite_etud.j2 b/app/templates/assiduites/pages/ajout_assiduite_etud.j2 index aa017568d..561f18cc7 100644 --- a/app/templates/assiduites/pages/ajout_assiduite_etud.j2 +++ b/app/templates/assiduites/pages/ajout_assiduite_etud.j2 @@ -95,8 +95,8 @@ div.submit > input { {{ render_field_errors(form, 'est_just') }} {# Description #} -
-
{{ form.description.label }}
+
+ {{ form.description.label }} {{ form.description() }} {{ render_field_errors(form, 'description') }}
diff --git a/app/templates/assiduites/pages/ajout_justificatif_etud.j2 b/app/templates/assiduites/pages/ajout_justificatif_etud.j2 index eafe71949..3aeba96a3 100644 --- a/app/templates/assiduites/pages/ajout_justificatif_etud.j2 +++ b/app/templates/assiduites/pages/ajout_justificatif_etud.j2 @@ -106,7 +106,7 @@ div.submit > input { {{ render_field_errors(form, 'etat') }}
{# Raison #} -
+
{% if (not justif) or can_view_justif_detail %}
{{ form.raison.label }}
{{ form.raison() }}