Make the birthday field a date field

And remove the date picker (you can now use the
native one)
This commit is contained in:
gregoirenovel 2017-03-28 18:06:49 +02:00
parent 8126549a0d
commit 6cb78acd85
3 changed files with 51 additions and 15 deletions

View file

@ -31,7 +31,7 @@
%label
%h4
Date de naissance *
= ff.text_field :birthdate, {class: 'form-control', 'data-provide' => 'datepicker', 'data-date-format' => 'dd/mm/yyyy'}
= ff.date_field :birthdate, {class: 'form-control', placeholder: 'jj/mm/aaaa'}
%p
%label{ style:'font-weight:normal' }