- if @confirm_payment = registration_step_header(:confirm_payment, description: { amount: (number_to_currency @confirm_amount, unit: '$'), currency: @confirm_currency }) = row do = columns(medium: 12) do = save_registration_step(@this_conference, :confirm_payment) - else = registration_step_header = row do = columns(medium: 12) do - 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" %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 .registration-step-options .options.graded-options{class: "option-count-#{@amounts.size}"} - @amounts.each_with_index do |option, i| = button "#{number_to_currency option, unit: '$'} #{_!@currency}".html_safe, value: option, name: :value, class: [:unstyled, "option-#{i + 1}"] .option-space .custom-option = number_field_tag :custom_value, 50.0, step: 0.05, min: 0.05 = button :custom_amount, name: :custom_amount, value: :custom, class: :unstyled - if @currencies.present? && @currencies.length > 1 .option-space .setting-option %p Change currency to: - (@currencies - [@currency]).each do |c| = button (_"currencies.#{c}.displayName-count-other"), name: :currency, value: c, class: :unstyled