From 8e323b7fd59f08e330b5fd7a1626b62240d87515 Mon Sep 17 00:00:00 2001 From: Godwin Date: Sun, 27 Jul 2014 23:18:33 -0600 Subject: [PATCH] Registrations page fix --- app/views/conferences/registrations.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/conferences/registrations.html.haml b/app/views/conferences/registrations.html.haml index 085a780..f6e1cc7 100644 --- a/app/views/conferences/registrations.html.haml +++ b/app/views/conferences/registrations.html.haml @@ -26,7 +26,7 @@ - stats[:completed] += (registration.completed ? 1 : 0) - stats[:paid] += (registration.registration_fees_paid ? 1 : 0) - stats[:collected] += (registration.registration_fees_paid || 0) - %td.user{rowspan: 2, id: user ? "user-#{user.id}" : nil}=registration.email + %td.user{rowspan: (user.present? ? 2 : nil), id: user ? "user-#{user.id}" : nil}=registration.email %td=data[:user][:firstname] %td=data[:user][:lastname] %td=data[:user][:username]