Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add all english picklist values we have to yaml files

  • Loading branch information...
commit e1c5d302dd118780818cbeb487acf4c776095410 1 parent 886b733
Paul Strong lapluviosilla authored
6 app/models/project.rb
View
@@ -13,20 +13,20 @@ class Project < ActiveRecord::Base
:student_educational_requirement,
:address, :internet_distance, :location_private, :location_type, :transportation_available,
:location_description, :culture_description, :housing_type, :dining_location, :housing_description,
- :safety_level, :challenges_description, :attire, :guidelines_description, :agree_memo, :agree_to_transport
+ :safety_level, :challenges_description, :typical_attire, :guidelines_description, :agree_memo, :agree_to_transport
attr_accessible :name, :description, :team_mode, :min_stay_duration, :min_students, :max_students,
:per_week_cost, :per_week_cost_final, :required_languages, :related_student_passions, :related_fields_of_study,
:student_educational_requirement,
:address, :internet_distance, :location_private, :location_type, :transportation_available,
:location_description, :culture_description, :housing_type, :dining_location, :housing_description,
- :safety_level, :challenges_description, :attire, :guidelines_description, :agree_memo, :agree_to_transport,
+ :safety_level, :challenges_description, :typical_attire, :guidelines_description, :agree_memo, :agree_to_transport,
:field_host_attributes, :organization_attributes
accepts_nested_attributes_for :field_host
accepts_nested_attributes_for :organization
- %w(dining_location internet_distance location_type housing_type safety_level attire).each do |f|
+ %w(dining_location internet_distance location_type housing_type safety_level typical_attire).each do |f|
enumerize f, in: I18n.t("enumerize.project.#{f}")
end
2  app/views/projects_setup/content.html.haml
View
@@ -24,7 +24,7 @@
%fieldset
%h4 What are your community guidelines (Dress, schedule, etc...)
- = f.input :attire, label: "Describe a students typical attire:"
+ = f.input :typical_attire, label: "Describe a students typical attire:"
= f.input :guidelines_description, as: :text, label: false, placeholder: 'Describe your project and/or organization guidelines'
= f.submit "Save & Continue to Step #5", class: "button button-orange"
12 config/locales/models/field_host/en.yml
View
@@ -15,10 +15,14 @@ en:
- YouTube
- Twitter
overall_education:
- - Associates Degree (AA or AS)
- - Bachelor's Degree (BA or BS)
- - Master's Degree (MA or MS)
- - None of the Above
+ - High School Graduate
+ - Some College
+ - Associates (2-yr) Degree (AA)
+ - Bachelor's Degree (BA/BS)
+ - Some Post-Graduate Studies
+ - Graduate Degree (MA/MS)
+ - Doctoral Degree or Equivalent
+ - Other
phone_type:
- Work
- Household
117 config/locales/models/project/en.yml
View
@@ -1,12 +1,20 @@
en:
enumerize:
project:
+ dining_location:
+ - Cafeteria
+ - Cook Own Food in Shared Kitchen
+ - Shared Meals at Residence
+ housing_type:
+ - Dormitory
+ - Homestay
+ - Apartment
internet_distance:
- - On-site
- - Within a few blocks (walkable)
- - 2-4 Kilometers (bikeable)
- - Must take mass transit
- - Need special transport
+ - On-site (Free)
+ - On-site (Fee based)
+ - Off-site, a few blocks away
+ - Off-site, need mass transit
+ - Off-site, need special transport
- No access
location_type:
- Urban
@@ -14,30 +22,91 @@ en:
- Rural
- Slum
related_fields_of_study:
- - Criminal Justice
- - Communication Studies
- - Education
+ - Accounting & Finance
+ - Agriculture
+ - Aviation
+ - Business & Management
+ - Child Development
+ - Communications & Journalism
+ - Community Development
+ - Computers & Information Systems
+ - Construction & Civil Engineering
+ - Counseling
+ - Creative Writing
+ - Cultural Anthropology
+ - Education & Teaching
+ - Engineering: Elec, Chem, Mech
+ - English
+ - Environmental Studies
+ - Fine Art
+ - Hospitality & Service Mgmt
+ - Intercultural Studies
+ - International Studies
+ - Internet Technology
+ - Languages & Linguistics
+ - Law & Criminal Justice
+ - Marriage & Family
+ - Occupational & Physical Therapy
+ - Organizational Mgmt
+ - Political Science
+ - Public Relations & Marketing
+ - Psychology
- Social Work
- related_student_passions:
- children_at_risk: Children at Risk
- human_trafficking: Human Trafficking
- cross_cultural_evangelism: Cross-Cultural Evangelism
+ - Sports & Recreation Mgmt
+ - Theology & Religion
+ - Video & Photography
+ - Web Design
+ - Youth Work
+ - Other
+ related_student_passions:
+ - Business & Economic Development
+ - Children at Risk
+ - Church Planting
+ - Drug Abuse
+ - Environmental Stewardship
+ - Food Resources
+ - HIV/AIDS Awareness
+ - Human Traffiking
+ - International Students
+ - Malaria Prevention
+ - Other
+ - Poverty
+ - Pure Water Resources
+ - Solar Light &/or Heat
+ - Women & Children Health
+ - Youth & Young Adults
required_languages:
- - Arabic
+ - Mandarin
+ - Spanish
- English
- - French
- - Japanese
- - Greek
- - German
+ - Arabic
- Hindi
- - Spanish
- - Mandarin
+ - Bengali
+ - Portuguese
- Russian
- - Thai
+ - Japanese
+ - German
+ - Other
+ safety_level:
+ - Never Walk Alone
+ - Daytime OK to walk area
+ - Free to Move Around Alone
student_educational_requirement:
- - High School Diploma
- - 4-year General College Degree
+ - High School Graduate
+ - Some College
+ - Associates (2-yr) Degree (AA)
+ - Bachelor's Degree (BA/BS)
+ - Some Post-Graduate Studies
+ - Graduate Degree (MA/MS)
+ - Doctoral Degree or Equivalent
+ - Other
transportation_available:
+ - Private Team Vehicle
+ - Public Bus/Metro
- Taxi/Rickshaw
- - Public Bus
- - Team Vehicle
+ typical_attire:
+ - Very Modest
+ - Business Dress
+ - Casual Work
+ - Very Informal
+ - Culturally Appropriate Dress Required
Please sign in to comment.
Something went wrong with that request. Please try again.