Add fields default value.
This commit is contained in:
parent
dba2944273
commit
ae43768659
|
@ -45,15 +45,15 @@ class Property
|
||||||
field :hiring_person_name, type: Hash, default: {"enable"=>"1","required"=>"true"}
|
field :hiring_person_name, type: Hash, default: {"enable"=>"1","required"=>"true"}
|
||||||
field :reason_for_hire, type: Hash, default: {"enable"=>"1","required"=>"true"}
|
field :reason_for_hire, type: Hash, default: {"enable"=>"1","required"=>"true"}
|
||||||
field :note_for_hire, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
field :note_for_hire, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :organization
|
field :organization, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :person_in_charge
|
field :person_in_charge, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :tel_of_person_in_charge
|
field :tel_of_person_in_charge, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :department
|
field :department, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :contact_person
|
field :contact_person, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :tel_of_contact_person
|
field :tel_of_contact_person, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :mobile_phone_of_contact_person
|
field :mobile_phone_of_contact_person, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :contact_person_Email
|
field :contact_person_Email, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :contact_person_department
|
field :contact_person_department, type: Hash, default: {"enable"=>"1","required"=>"false"}
|
||||||
field :enable_notes_selector , type: Boolean, default: false
|
field :enable_notes_selector , type: Boolean, default: false
|
||||||
field :notes_selector ,type: Hash, default: {}
|
field :notes_selector ,type: Hash, default: {}
|
||||||
field :enable_fields_sort , type: Boolean, default: false
|
field :enable_fields_sort , type: Boolean, default: false
|
||||||
|
|
Loading…
Reference in New Issue