From 249da032873a7e2163f2dcd45d6e68d32ea6d31c Mon Sep 17 00:00:00 2001 From: Benoit Queyron <72251526+Benoit-MINT@users.noreply.github.com> Date: Fri, 12 Jul 2024 20:14:13 +0200 Subject: [PATCH] adaptation attestation v2 --- .../administrateurs/attestation_template_v2s/edit.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/administrateurs/attestation_template_v2s/edit.html.haml b/app/views/administrateurs/attestation_template_v2s/edit.html.haml index 7c995e6b2..0c6b12582 100644 --- a/app/views/administrateurs/attestation_template_v2s/edit.html.haml +++ b/app/views/administrateurs/attestation_template_v2s/edit.html.haml @@ -60,7 +60,7 @@ - c.with_hint { "Exemple: Ministère de la Mer. 5 lignes maximum" } .fr-fieldset__element{ data: { attestation_target: 'logoAttachmentFieldset' } } - %label.fr-label{ for: field_id(@attestation_template, :logo) } + %label.fr-label{ for: dom_id(@attestation_template, :logo) } - if @attestation_template.official_layout? = AttestationTemplate.human_attribute_name(:logo_additional) - else @@ -108,7 +108,7 @@ %h2.fr-h4 Pied de page .fr-fieldset__element - %label.fr-label{ for: field_id(@attestation_template, :signature) } Tampon ou signature + %label.fr-label{ for: dom_id(@attestation_template, :signature) } Tampon ou signature %span.fr-hint-text Dimensions conseillées : au minimum 500px de largeur ou de hauteur.