diff --git a/app/models/education/program.rb b/app/models/education/program.rb index 86067455a01625ccaf134b21f0b939dd78f2d674..097fab90ac24cf34b819d0bb87ccc22e7f3e1e6b 100644 --- a/app/models/education/program.rb +++ b/app/models/education/program.rb @@ -94,6 +94,7 @@ class Education::Program < ApplicationRecord accepts_nested_attributes_for :university_person_involvements, reject_if: :all_blank, allow_destroy: true enum level: { + not_applicable: 0, primary: 40, secondary: 60, high: 80, diff --git a/config/locales/education/en.yml b/config/locales/education/en.yml index 40ee064988462c5c7e672b8be92e861fecba068c..d1f9e138e7da5ef067b20029853faf105abfe065 100644 --- a/config/locales/education/en.yml +++ b/config/locales/education/en.yml @@ -75,10 +75,11 @@ en: dut: DUT first_year: First year high: High School - secondary: Secondary school - second_year: Second year master: Master + not_applicable: Not applicable primary: Primary school + secondary: Secondary school + second_year: Second year simple_form: hints: education_program: diff --git a/config/locales/education/fr.yml b/config/locales/education/fr.yml index 410a50af2f97be885fd56389fb475bd12a73bc4a..e8db3e7b72200e3886875ceebdf19ea174e0c440 100644 --- a/config/locales/education/fr.yml +++ b/config/locales/education/fr.yml @@ -76,6 +76,7 @@ fr: first_year: Bac + 1 high: Lycée master: Master + not_applicable: Non applicable primary: École primaire secondary: Collège second_year: Bac + 2