From e72af5664966a67f2309bf7d7b5542c285fcdb8e Mon Sep 17 00:00:00 2001 From: Shubhankar Deshpande Date: Fri, 13 Feb 2015 07:17:43 +0530 Subject: [PATCH] Update index.pdf.prawn Removed attending_social_events attribute from the prawn file. The same question "Are you attending social events?" could possibly now be asked as a custom question. --- app/views/admin/registrations/index.pdf.prawn | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/views/admin/registrations/index.pdf.prawn b/app/views/admin/registrations/index.pdf.prawn index a75c062c..1c49c7b4 100644 --- a/app/views/admin/registrations/index.pdf.prawn +++ b/app/views/admin/registrations/index.pdf.prawn @@ -3,7 +3,6 @@ prawn_document(:force_download=>true, :filename => @pdf_filename) do |pdf| header_array = [" ", "Name", "Email", - "Attending Social Events", "Attending With Partner", "Arrival Date", "Departure Date"] @@ -13,10 +12,6 @@ prawn_document(:force_download=>true, :filename => @pdf_filename) do |pdf| row << "" row << registration.name row << registration.email - if registration.attending_social_events - row << "X" - else - row << " " end if registration.attending_with_partner.to_s