Allow to select date of birth before 2014 (closes #34)
This commit is contained in:
parent
3f9b3de255
commit
125e1c6432
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
<%= f.input :first_name %>
|
<%= f.input :first_name %>
|
||||||
<%= f.input :middle_name %>
|
<%= f.input :middle_name %>
|
||||||
<%= f.input :sex, collection: Person.sexes.keys.map(&:to_sym) %>
|
<%= f.input :sex, collection: Person.sexes.keys.map(&:to_sym) %>
|
||||||
<%= f.input :date_of_birth %>
|
<%= f.input :date_of_birth, start_year: 1900, end_year: Time.zone.now.year %>
|
||||||
<%= f.input :place_of_birth %>
|
<%= f.input :place_of_birth %>
|
||||||
<%= f.input :photo, direct_upload: true %>
|
<%= f.input :photo, direct_upload: true %>
|
||||||
|
|
||||||
|
|
Reference in a new issue