diff --git a/app/controllers/recruitments_controller.rb b/app/controllers/recruitments_controller.rb index c80a710..8aed7b6 100644 --- a/app/controllers/recruitments_controller.rb +++ b/app/controllers/recruitments_controller.rb @@ -231,6 +231,10 @@ class RecruitmentsController < PseudoSessionController "gender" => t("recruitment.gender.#{profile.gender}"), "martial-title" => t("recruitment.martial_title"), "martial" => (!profile.marital_status.nil? && profile.marital_status != "" ? t("recruitment.martial.#{profile.marital_status}") : t("recruitment.not_available")), + "employment_status-title" => t("recruitment.gender_title"), + "employment_status" => t("recruitment.employment.#{profile.employment_status}"), + "employee_identity-title" => t("recruitment.employee_identity_title"), + "employee_identity" => t("recruitment.employee_identity.#{profile.employee_identity}"), "language-title" => t("recruitment.language_title"), "language" => profile.languages, "workingtime-title" => t("recruitment.workingtime_title"), diff --git a/app/models/employee_profile.rb b/app/models/employee_profile.rb index 2453019..f60a4f2 100644 --- a/app/models/employee_profile.rb +++ b/app/models/employee_profile.rb @@ -14,6 +14,7 @@ class EmployeeProfile field :address, localize: true field :autobiography, localize: true field :employment_status #type1 -> employed, type2 -> unemployed + field :employee_identity #type1 -> General Candidate, type2 -> Internship, type3 -> Exchange Student field :active, type: Boolean, :default => true # job info diff --git a/app/views/recruitments/_employee_form.html.erb b/app/views/recruitments/_employee_form.html.erb index 7a3cb05..322d24b 100644 --- a/app/views/recruitments/_employee_form.html.erb +++ b/app/views/recruitments/_employee_form.html.erb @@ -97,8 +97,8 @@ <%= fe.text_field :phone_number, :class => "form-control" %> - - + +