def _process(self): regform_stats = [OverviewStats(self.regform)] regform_stats += [ AccommodationStats(x) for x in self.regform.active_fields if x.input_type == 'accommodation' ] return WPManageRegistrationStats.render_template( 'management/regform_stats.html', self.event, regform=self.regform, regform_stats=regform_stats)
def _process(self): regform_stats = [OverviewStats(self.regform)] regform_stats += [AccommodationStats(x) for x in self.regform.active_fields if x.input_type == 'accommodation'] return WPManageRegistrationStats.render_template('management/regform_stats.html', self.event, regform=self.regform, regform_stats=regform_stats)