.row .col-md-2 = f.number_field :ou_region,:min=>1,:max=>15, label: 'OU region number' .col-md-2 = f.text_field :ou_pi,:label=>'Personal identifier' .col-md-2 = f.text_field :ou_degree, label: 'Degree' .col-md-1 = f.number_field :ou_start_year,:min=>1975, label: 'Start year',default: 1.year.ago.year .col-md-1 = f.number_field :ou_end_year,:min=>1975,:max=>2030, label: 'End year', default: 1.year.from_now.year .col-md-2 = f.text_area :ou_current_courses, :class => 'autogrow', :rows => 3, :placeholder=> 'Enter your current courses separated by commas, e.g. SM123,SM456',label: 'Current courses' .col-md-2 = f.text_area :ou_prev_courses, :class => 'autogrow', :rows => 3, :placeholder=> 'Enter your previous courses separated by commas, e.g. SM123,SM456',label: 'Previous courses' .row %div{class: 'col-md-11 col-md-offset-1'} = f.collection_radio_buttons(:ou_source,['Facebook','Fusion Website','Google','My Course Website/Forum','My Course Mailing','OUSA','Sesame','A Friend','Other'],:to_s,:to_s,label: 'How did you hear about OU Fusion?')