Browse Source

Fixed error on select guest table

development
Godwin 8 years ago
committed by GitHub
parent
commit
8f45b419f9
  1. 4
      app/views/conferences/admin/_select_guest_table.html.haml

4
app/views/conferences/admin/_select_guest_table.html.haml

@ -27,11 +27,11 @@
%tr.selectable{class: get_housing_match(host, registration, space).to_s.gsub('_', '-'), data: {host: host.id, guest: id, space: space}}
%th=registration.user.name
%td=registration.city
%td=_"articles.conference_registration.questions.housing.#{registration.housing}"
%td=registration.housing.present? ? (_"articles.conference_registration.questions.housing.#{registration.housing}") : ''
%td=date_span(registration.arrival.to_date, registration.departure.to_date)
- companion = companion(registration)
%td=companion.present? ? (companion.is_a?(User) ? companion.named_email : (_"articles.conference_registration.terms.registration_status.#{companion}")) : ''
%td=_"articles.conference_registration.questions.food.#{registration.food}"
%td=registration.food.present? ? (_"articles.conference_registration.questions.food.#{registration.food}") : ''
%td=registration.allergies
%td
.p=registration.other

Loading…
Cancel
Save