Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More field updates

  • Loading branch information...
commit 2b375708e153ea1e97d0bf9935ce0230061b8573 1 parent fb85aea
@lapluviosilla lapluviosilla authored
View
2  app/models/project.rb
@@ -30,7 +30,7 @@ class Project < ActiveRecord::Base
enumerize f, in: I18n.t("enumerize.project.#{f}")
end
- %w(required_languages related_student_passions related_fields_of_study).each do |f|
+ %w(required_languages related_student_passions related_fields_of_study transportation_available).each do |f|
enumerize f, in: I18n.t("enumerize.project." + f), multiple: true
define_method "#{f}_with_deserialize" do
View
6 app/views/projects_setup/content.html.haml
@@ -9,13 +9,13 @@
%fieldset
%h4 Internship Project, Community, and Personal Overview
- = f.input :description, as: :text, label: false
+ = f.input :description, as: :text, label: false, placeholder: 'Describe the project, the project facilities, organization, and project personnel here...'
%fieldset
%h4 Housing & Meals
= f.input :housing_type, label: "Student housing type."
= f.input :dining_location, label: "Student dining location."
- = f.input :housing_description, as: :text, label: false, placeholder: 'Describe the housing, diet, and any health concerns here....'
+ = f.input :housing_description, as: :text, label: false, placeholder: 'Describe the housing, diet, and any health concerns here...'
%fieldset
%h4 Challenges at your location
@@ -25,6 +25,6 @@
%fieldset
%h4 What are your community guidelines (Dress, schedule, etc...)
= 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.input :guidelines_description, as: :text, label: false, placeholder: 'Describe your project and/or organization guidelines (such as dress, for personal/interns)...'
= f.submit "Save & Continue to Step #5", class: "button button-orange"
View
1  app/views/projects_setup/location.html.haml
@@ -19,6 +19,7 @@
%label Is your location urban, surburban or rural?
= f.input :location_type, label: false, as: :button_group
-# = f.input :location_type, label: false, input_html: {style: "display:none;"}
+ = f.input :transportation_available, label: 'Describe the type(s) of transportation available in your area'
Please sign in to comment.
Something went wrong with that request. Please try again.