1
0
Fork 0

Allow to select date of birth before 2014 (closes #34)

This commit is contained in:
Alex Kotov 2020-02-15 05:08:40 +05:00
parent 3f9b3de255
commit 125e1c6432
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -12,7 +12,7 @@
<%= f.input :first_name %>
<%= f.input :middle_name %>
<%= 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 :photo, direct_upload: true %>