demarches-normaliennes/app/views/shared/dossiers/editable_champs/_textarea.html.haml

7 lines
250 B
Text

~ form.text_area :value,
id: champ.input_id,
aria: { describedby: champ.describedby_id },
rows: 6,
required: champ.mandatory?,
value: html_to_string(champ.value),
placeholder: champ.type_de_champ.placeholder.presence || t(".placeholder")