app/views/questionnaires/_form.html.haml in hackathon_manager-0.6.0 vs app/views/questionnaires/_form.html.haml in hackathon_manager-0.6.1
- old
+ new
@@ -11,10 +11,10 @@
.form-inputs
= f.input :first_name, input_html: { "data-validate" => "presence" }, autofocus: true, wrapper_html: { class: 'input--half' }
= f.input :last_name, input_html: { "data-validate" => "presence" }, wrapper_html: { class: 'input--half' }
= f.input :phone, label: "Phone number", input_html: { "data-validate" => "presence" }
- = f.input :date_of_birth, start_year: Date.today.year - 18, end_year: Date.today.year - 90, order: [:month, :day, :year], input_html: { "data-validate" => "presence" }
+ = f.input :date_of_birth, start_year: Date.today.year - 5, end_year: Date.today.year - 90, order: [:month, :day, :year], input_html: { "data-validate" => "presence" }
= f.input :school_id, as: :school_selection, input_html: { "data-validate" => "presence" }
= f.input :level_of_study, input_html: { "data-validate" => "presence" }, wrapper_html: { class: 'input--half' }
= f.input :major, input_html: { "data-validate" => "presence" }, wrapper_html: { class: 'input--half' }
= f.input :gender, input_html: { "data-validate" => "presence" }, wrapper_html: { class: 'input--half' }