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

2 lines
176 B
Text
Raw Normal View History

2024-04-11 09:49:53 +02:00
= @form.text_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, required: @champ.required?, pattern: "-?[0-9]*", inputmode: :decimal))