demarches-normaliennes/app/views/users/description/champs/_date.html.haml

5 lines
183 B
Text

%input.form-control{ name: "champs['#{champ.id}']",
placeholder: "JJ/MM/AAAA",
id: "champs_#{champ.id}",
value: champ.value ? champ.object.value : champ.value,
type: "date" }