fixing stat numbers
This commit is contained in:
parent
ef556f02ca
commit
a13a084f3e
3 changed files with 24 additions and 9 deletions
|
|
@ -11,7 +11,7 @@
|
|||
%th #
|
||||
%th %
|
||||
- @supporter_levels.each do |level|
|
||||
- reg_count = level.supporter_registrations.count
|
||||
- reg_count = level.supporter_registrations.where(conference_id: @conference).count
|
||||
- if reg_count > 0
|
||||
%tr
|
||||
%td= level.title
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue