Procedure has an auto_archive date

This commit is contained in:
Mathieu Magnin 2017-03-14 10:45:59 +01:00
parent 18b3368a29
commit 359807b4f7
5 changed files with 21 additions and 11 deletions

View file

@ -80,3 +80,12 @@
%label
= f.check_box :individual_with_siret
Donner la possibilité de renseigner un SIRET au cours de la construction du dossier.
.col-md-6
%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-format' => 'dd/mm/yyyy' }
(à 00h00 )