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

10 lines
254 B
Text
Raw Normal View History

2022-09-21 15:18:23 +02:00
= @form.text_field :value,
id: @champ.input_id,
aria: { describedby: @champ.describedby_id },
placeholder: t(".placeholder"),
required: @champ.mandatory?,
pattern: "W[0-9]{9}",
title: t(".title"),
class: "width-33-desktop",
maxlength: 10