|
|
|
= columns(medium: 12) do
|
|
|
|
%h2=_'articles.conference_registration.headings.Payment'
|
|
|
|
- if @registration.registration_fees_paid.present?
|
|
|
|
%p
|
|
|
|
%strong=_'articles.conference_registration.paragraphs.Payment_Made', :p, vars: { fees_paid: @registration.registration_fees_paid }
|
|
|
|
= _'articles.conference_registration.paragraphs.Payment_Add'
|
|
|
|
- else
|
|
|
|
%p=_'articles.conference_registration.paragraphs.Payment', :p
|
|
|
|
= columns(large: 9, push: 1) do
|
|
|
|
= form_tag register_path(@this_conference.slug), :class => :payment do
|
|
|
|
= hidden_field_tag :button, :payment
|
|
|
|
.three-options
|
|
|
|
= button_tag :amount_25, :name => :amount, :value => '25.0' do
|
|
|
|
=_! '$25.00'
|
|
|
|
= button_tag :amount_50, :name => :amount, :value => '50.0' do
|
|
|
|
=_! '$50.00'
|
|
|
|
= button_tag :amount_100, :name => :amount, :value => '100.0' do
|
|
|
|
= _!'$100.00'
|
|
|
|
= form_tag register_path(@this_conference.slug), :class => ['custom-payment', :centered] do
|
|
|
|
%span.currency=_!'$'
|
|
|
|
= numberfield :amount, nil, :required => true, :step => 0.01, :min => 0.00, label: false
|
|
|
|
= button_tag :custom_amount, :value => :payment
|
|
|
|
%p=_'articles.conference_registration.paragraphs.currency','(amounts are in $USD)'
|
|
|
|
= form_tag register_path(@this_conference.slug), :class => :payment do
|
|
|
|
= hidden_field_tag :button, :payment
|
|
|
|
.actions.skip
|
|
|
|
= button_tag :skip, :name => :amount, :value => '0.0'
|
|
|
|
|
|
|
|
= columns(large: 2)
|