demarches-normaliennes/app/components/editable_champ/iban_component/iban_component.html.haml
2023-01-16 21:23:33 +01:00

8 lines
304 B
Text

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