Make the birthday field a date field
And remove the date picker (you can now use the native one)
This commit is contained in:
parent
8126549a0d
commit
6cb78acd85
3 changed files with 51 additions and 15 deletions
|
@ -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' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue