From a58578573105d3fd81f912f9cbb5a156f0e22155 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 9 Oct 2017 12:09:12 -0400 Subject: [PATCH] Update for the rTime Loop through this as array. --- views/front/registrations/registration.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/views/front/registrations/registration.html b/views/front/registrations/registration.html index e8f1b2e..287a0f4 100644 --- a/views/front/registrations/registration.html +++ b/views/front/registrations/registration.html @@ -64,10 +64,12 @@

<%= descr %>

<% if ( !time_specific ) { %>

Attend any time during event

+ <% _.each(reg_time, function(rTime){ %>

- Maximum Registrants: <%= attendee_max %>
- Currently Available: <%= attendees_available %> + Maximum Registrants: <%= rTime.attendee_max %>
+ Currently Available: <%= rTime.attendees_available %>

+ <% }); %> <% } else { %> <% } %> -- 2.17.1