Added skip button to payment page
This commit is contained in:
@@ -22,16 +22,16 @@
|
||||
%td=date(@registration.departure)
|
||||
%tr
|
||||
%th=_'articles.conference_registration.headings.languages'
|
||||
%td=_!((JSON.parse(@registration.languages).map { |x| _"languages.#{x}" }).join(', ').to_s).html_safe
|
||||
%td=_!((JSON.parse(@registration.languages || '[]').map { |x| _"languages.#{x}" }).join(', ').to_s).html_safe
|
||||
%tr
|
||||
%th=_'articles.conference_registration.headings.housing'
|
||||
%td=_"articles.conference_registration.questions.housing.#{@registration.housing}"
|
||||
%td=_"articles.conference_registration.questions.housing.#{@registration.housing || 'none'}"
|
||||
%tr
|
||||
%th=_'articles.conference_registration.headings.bike'
|
||||
%td=_"articles.conference_registration.questions.bike.#{@registration.bike}"
|
||||
%td=_"articles.conference_registration.questions.bike.#{@registration.bike || 'none'}"
|
||||
%tr
|
||||
%th=_'articles.conference_registration.headings.food'
|
||||
%td=_"articles.conference_registration.questions.food.#{@registration.food}"
|
||||
%td=_"articles.conference_registration.questions.food.#{@registration.food || 'meat'}"
|
||||
%tr
|
||||
%th=_'articles.conference_registration.headings.allergies'
|
||||
%td
|
||||
|
||||
@@ -16,5 +16,9 @@
|
||||
= number_field_tag :amount, nil, :required => true, :step => 0.01, :min => 0.00
|
||||
= 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)
|
||||
|
||||
Reference in New Issue
Block a user