From 1532d287aedde533f8eb92331228ce2a839776b6 Mon Sep 17 00:00:00 2001 From: pedong Date: Thu, 29 Nov 2018 16:12:02 +0100 Subject: [PATCH] [fix #3026] change champ date for archivage auto --- app/views/admin/procedures/_informations.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/procedures/_informations.html.haml b/app/views/admin/procedures/_informations.html.haml index 751a0f5e5..bad8e62ed 100644 --- a/app/views/admin/procedures/_informations.html.haml +++ b/app/views/admin/procedures/_informations.html.haml @@ -146,7 +146,7 @@ %h4 Options avancées %label{ for: :auto_archive_on } Archivage automatique le - = f.text_field :auto_archive_on, id: 'auto_archive_on', value: @procedure.auto_archive_on.try{ |d| d.strftime("%d-%m-%Y") }, data: { provide: 'datepicker', 'date-language' => 'fr', 'date-format' => 'dd/mm/yyyy' } + = f.date_field :auto_archive_on, id: 'auto_archive_on', value: @procedure.auto_archive_on (à 00h00) %p.help-block %i.fa.fa-info-circle