demarches-normaliennes/app/views/users/description/champs/_date.html.haml
2018-01-19 13:20:53 +01:00

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" }