Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
2.3 KiB

= columns(medium: 12) do
%h2=_'articles.conference_registration.headings.Youre_Done', 'You\'re Done!'
= columns(medium: 6, large: 7) do
%p=_'articles.conference_registration.paragraphs.done', :p
%p=_'articles.conference_registration.paragraphs.workshops', 'You can now take a look at proposed workshops and even propose one yourself if you like.'
.actions
= link_to (_'articles.conference_registration.actions.View_Workshops'), workshops_path(@conference.slug), :class => 'button'
= columns(medium: 6, large: 5) do
%h3=_'articles.conference_registration.headings.Your_Registration'
%table
%tr
%th=_'articles.conference_registration.headings.name'
%td=_!(current_user.firstname || '')
%tr
%th=_'articles.conference_registration.headings.location'
%td=_!(@registration.city || '')
%tr
%th=_'articles.conference_registration.headings.arrival'
%td=date(@registration.arrival || @this_conference.start_date)
%tr
%th=_'articles.conference_registration.headings.departure'
%td=date(@registration.departure || @this_conference.end_date)
%tr
%th=_'articles.conference_registration.headings.languages'
%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 || 'none'}"
%tr
%th=_'articles.conference_registration.headings.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 || 'meat'}"
%tr
%th=_'articles.conference_registration.headings.allergies'
%td
- if @registration.allergies.blank?
=_'articles.conference_registration.none'
- else
=_!@registration.allergies
%tr
%th=_'articles.conference_registration.headings.other'
%td=_!(@registration.other || '')
%tr
%th=_'articles.conference_registration.headings.payment'
%td=_!('$' + (@amount || 0))
- if @conference.registration_open
= form_tag register_path(@this_conference.slug) do
.actions
= button :edit_registration, :value => :register