diff --git a/app/controllers/conferences_controller.rb b/app/controllers/conferences_controller.rb index db3d0dc..91a8cbc 100644 --- a/app/controllers/conferences_controller.rb +++ b/app/controllers/conferences_controller.rb @@ -27,7 +27,7 @@ module RegistrationSteps :review ] available = all_southpole_steps.select { |step| send("#{step}_available?", registration) } - else+ available = RegistrationSteps.all_registration_steps.select { |step| send("#{step}_available?", registration) } + else available = RegistrationSteps.all_registration_steps.select { |step| send("#{step}_available?", registration) } end return available end diff --git a/app/views/registration_steps/_payment_form.html.haml b/app/views/registration_steps/_payment_form.html.haml index 14eb429..6cf6c9f 100644 --- a/app/views/registration_steps/_payment_form.html.haml +++ b/app/views/registration_steps/_payment_form.html.haml @@ -10,7 +10,7 @@ - unless @currencies.present? && @currencies.length > 1 %p.center=_"articles.conference_registration.paragraphs.currency_details", :p, vars: { currency: (_"currencies.#{(@currencies || [@currency]).first}.displayName-count-other") } = save_registration_step do - - if @conference.slug == "South2022" + - if @this_conference.slug == "South2022" %iframe{:src => "https://opencollective.com/embed/bikebike-everywhere/donate?email=#{current_user.email}&name=#{current_user.firstname} #{current_user.lastname}", :style => "width: 100%; min-height: 100vh;"} = textfield :notes, @notes, required: true - else