date champs: adding a placeholder for IE and Safari (which do not support the input type date)
This commit is contained in:
parent
be0e71c6c2
commit
206646f765
1 changed files with 2 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Reference in a new issue