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

7 lines
218 B
Text
Raw Normal View History

2022-08-12 10:45:04 +02:00
= @form.date_field :value,
2023-05-05 09:13:05 +02:00
input_opts(id: @champ.input_id,
2022-08-12 10:45:04 +02:00
aria: { describedby: @champ.describedby_id },
value: @champ.value,
required: @champ.required?,
2023-05-05 09:13:05 +02:00
placeholder: 'aaaa-mm-jj', class: "width-33-desktop")