demarches-normaliennes/app/components/editable_champ/iban_component/iban_component.html.haml

9 lines
304 B
Text
Raw Normal View History

2022-08-12 10:45:04 +02:00
= @form.text_field :value,
id: @champ.input_id,
placeholder: t(".placeholder"),
required: @champ.required?,
2022-08-12 10:45:04 +02:00
aria: { describedby: @champ.describedby_id },
data: { controller: 'format', format: 'iban' },
class: "width-66-desktop",
maxlength: 34 + 9 # count space separator of 4 digits-groups