Godwin
8 years ago
9 changed files with 28 additions and 21 deletions
@ -1,14 +1,14 @@ |
|||||
= columns(medium: 12) do |
= columns(medium: 12) do |
||||
%p=_'articles.conference_registration.paragraphs.Registration_Info', :p, vars: { city: @this_conference.location.city } |
%p=_'articles.conference_registration.paragraphs.Registration_Info', :p, vars: { city: @this_conference.city_name } |
||||
= form_tag register_path(@this_conference.slug), class: [:centered, :clearfix] do |
= form_tag register_path(@this_conference.slug), class: [:centered, :clearfix] do |
||||
= columns(medium: 12) do |
= columns(medium: 12) do |
||||
= radiobuttons :housing, ConferenceRegistration.all_housing_options, @registration.housing, 'articles.conference_registration.questions.housing', heading: 'articles.conference_registration.headings.housing', vertical: true, big: true, inline: true |
= radiobuttons :housing, ConferenceRegistration.all_housing_options, @registration.housing, 'articles.conference_registration.questions.housing', heading: 'articles.conference_registration.headings.housing', vertical: true, big: true, inline: true |
||||
= fieldset :hosting_dates, heading: 'articles.conference_registration.headings.arrival_and_departure', vars: { city: @this_conference.location.city } do |
= fieldset :hosting_dates, heading: 'articles.conference_registration.headings.arrival_and_departure', vars: { city: @this_conference.city_name } do |
||||
= selectfield :arrival, @registration.arrival || @this_conference.start_date, conference_days_options_list(:before_plus_one) |
= selectfield :arrival, @registration.arrival || @this_conference.start_date, conference_days_options_list(:before_plus_one) |
||||
= selectfield :departure, @registration.departure || @this_conference.start_date, conference_days_options_list(:after_minus_one) |
= selectfield :departure, @registration.departure || @this_conference.start_date, conference_days_options_list(:after_minus_one) |
||||
= radiobuttons :bike, ConferenceRegistration.all_bike_options, @registration.bike, 'articles.conference_registration.questions.bike', heading: 'articles.conference_registration.headings.bike', inline: true, big: true |
= radiobuttons :bike, ConferenceRegistration.all_bike_options, @registration.bike, 'articles.conference_registration.questions.bike', heading: 'articles.conference_registration.headings.bike', inline: true, big: true |
||||
= radiobuttons :food, ConferenceRegistration.all_food_options, @registration.food, 'articles.conference_registration.questions.food', heading: 'articles.conference_registration.headings.food', inline: true, big: true |
= radiobuttons :food, ConferenceRegistration.all_food_options, @registration.food, 'articles.conference_registration.questions.food', heading: 'articles.conference_registration.headings.food', inline: true, big: true |
||||
= emailfield :companion, (@registration.housing_data['companions'] || [nil]).first, heading: 'articles.conference_registration.headings.companion', help: 'articles.conference_registration.paragraphs.companion', big: true |
= emailfield :companion, (@registration.housing_data['companions'] || [nil]).first, heading: 'articles.conference_registration.headings.companion', help: 'articles.conference_registration.paragraphs.companion', big: true |
||||
= textfield :allergies, @registration.allergies, heading: 'articles.conference_registration.headings.allergies' |
= textfield :allergies, @registration.allergies, heading: 'articles.conference_registration.headings.allergies' |
||||
= textarea :other, @registration.other, plain: true, heading: 'articles.conference_registration.headings.other' |
= textarea :other, @registration.other, plain: true, heading: 'articles.conference_registration.headings.other' |
||||
= button_tag :register, :value => :questions |
= button_tag :register, :value => :questions |
||||
|
Loading…
Reference in new issue