Remove duplicate id

This commit is contained in:
Corinne Durrmeyer 2024-10-15 11:15:08 +02:00
parent a1abaa4ac2
commit b0b1cdbbeb
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -21,7 +21,7 @@
%span.fr-hint-text{ data: { controller: 'date-input-hint' } }= hint %span.fr-hint-text{ data: { controller: 'date-input-hint' } }= hint
- if @champ.description.present? - if @champ.description.present?
%span.fr-hint-text{ id: @champ.describedby_id }= render SimpleFormatComponent.new(@champ.description, allow_a: true) %span.fr-hint-text= render SimpleFormatComponent.new(@champ.description, allow_a: true)
- if @champ.textarea? - if @champ.textarea?
%span.sr-only= t('.recommended_size', size: @champ.character_limit_base) %span.sr-only= t('.recommended_size', size: @champ.character_limit_base)