[Fix #589] When displaying individual form, fill birthdate input

This commit is contained in:
Mathieu Magnin 2017-07-25 17:27:09 +02:00
parent 03fde0a502
commit 3804ab5911

View file

@ -31,7 +31,7 @@
%label
%h4
Date de naissance *
= ff.date_field :birthdate, { class: 'form-control', placeholder: 'jj/mm/aaaa', required: true }
= ff.date_field :birthdate, { value: @facade.individual.birthdate, class: 'form-control', placeholder: 'jj/mm/aaaa', required: true }
%p
%label{ style: 'font-weight: normal;' }