skill-assessment-app/app/helpers/application_helper.rb
Jennifer Siegfried f83add726b Adjusts language
2016-08-04 07:51:54 -06:00

13 lines
451 B
Ruby

module ApplicationHelper
def experience_options val
options_for_select([
["Please select", ""],
["0-3 Years", "0-3"],
["4-6 Years", "4-6"],
["7-9 Years", "7-9"],
["10-14 Years", "10-14"],
["15+ Years", "15+"]
], disabled: "-", selected: (val.blank? ? '' : val))
end
end