From 206646f7650708d5ed8266048832ca775d162d11 Mon Sep 17 00:00:00 2001 From: Judith Date: Wed, 12 Aug 2020 12:19:32 +0200 Subject: [PATCH] date champs: adding a placeholder for IE and Safari (which do not support the input type date) --- app/views/shared/dossiers/editable_champs/_date.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/shared/dossiers/editable_champs/_date.html.haml b/app/views/shared/dossiers/editable_champs/_date.html.haml index c3d7acee7..1f0c344d2 100644 --- a/app/views/shared/dossiers/editable_champs/_date.html.haml +++ b/app/views/shared/dossiers/editable_champs/_date.html.haml @@ -1,3 +1,4 @@ = form.date_field :value, value: champ.value, - required: champ.mandatory? + required: champ.mandatory?, + placeholder: 'aaaa-mm-jj'