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

5 lines
517 B
Text
Raw Normal View History

= @form.text_field(:value, input_opts( id: @champ.input_id, aria: { describedby: @champ.describedby_id }, data: { controller: 'turbo-input format', format: 'deleteSpace', turbo_input_load_on_connect_value: @champ.prefilled? && @champ.value.present? && @champ.data.blank?, turbo_input_url_value: update_path }, required: @champ.required?, pattern: "W[0-9]{9}", class: "width-33-desktop", maxlength: 10))
2022-10-04 22:11:01 +02:00
.rna-info{ id: dom_id(@champ, :rna_info) }
2023-01-14 11:53:55 +01:00
= render 'shared/champs/rna/association', champ: @champ, error: nil