date champs: adding a placeholder for IE and Safari (which do not support the input type date)

This commit is contained in:
Judith 2020-08-12 12:19:32 +02:00 committed by jpoulvel (Rebase PR Action)
parent be0e71c6c2
commit 206646f765

View file

@ -1,3 +1,4 @@
= form.date_field :value, = form.date_field :value,
value: champ.value, value: champ.value,
required: champ.mandatory? required: champ.mandatory?,
placeholder: 'aaaa-mm-jj'