From 8c66f4d6df2be8efa401e3c701ef731d41b4673a Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 3 Oct 2023 11:44:28 +0200 Subject: [PATCH] chore(form): remove "optional" mention because people never fill them Closes #9540 --- .../champ_label_content_component.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/editable_champ/champ_label_content_component/champ_label_content_component.html.haml b/app/components/editable_champ/champ_label_content_component/champ_label_content_component.html.haml index f83359ec7..8400ff299 100644 --- a/app/components/editable_champ/champ_label_content_component/champ_label_content_component.html.haml +++ b/app/components/editable_champ/champ_label_content_component/champ_label_content_component.html.haml @@ -5,7 +5,7 @@ - elsif @champ.dossier.procedure.feature_enabled?(:disable_label_optional_champ_2023_06_29) -# noop here, allow admin to disable the optional_champ - else - = "#{t('.optional_champ')}" + %span.sr-only= t('.optional_champ') - if @champ.forked_with_changes? %span.updated-at.highlighted