[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 %label
%h4 %h4
Date de naissance * 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 %p
%label{ style: 'font-weight: normal;' } %label{ style: 'font-weight: normal;' }