Paypal working and a few minor fixes

This commit is contained in:
Godwin
2016-07-15 19:04:25 -07:00
parent 317a6819d9
commit 1eaba5f6c5
7 changed files with 66 additions and 7 deletions
+1 -1
View File
@@ -5,6 +5,6 @@
%h2.primary=location(@conference.organizations.first.locations.first)
.secondary
= date_span(@conference.start_date.to_date, @conference.end_date.to_date)
%img{src: @conference.poster.full.url || image_path('default_poster.jpg'), role: :presentation, alt: ''}
%img{src: @conference.poster.full.url || image_path('default_poster.jpg'), role: :presentation, alt: (_'images.conference.poster', vars: { conference_title: @conference.title })}
- content_for :og_image do
= @conference.poster.full.url || image_path('default_poster.jpg')
+6 -1
View File
@@ -1,6 +1,11 @@
= columns(medium: 12) do
%h2=_'articles.conference_registration.headings.Payment'
%p=_'articles.conference_registration.paragraphs.Payment', 'Thank you for completing your registration. We\'ll see you at Bike!Bike! Payment is by donation and can be done now or upon arrival but to help us fund the conference, we ask that you pay the registration donation as soon as you can.'
- 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