diff --git a/app/views/standardpage/classifica.html.erb b/app/views/standardpage/classifica.html.erb index 384565a..b5ef3f5 100644 --- a/app/views/standardpage/classifica.html.erb +++ b/app/views/standardpage/classifica.html.erb @@ -1,15 +1,19 @@

LA CLASSIFICA SOMMA, ASD

GRUPPI

    <% @groups.each do |group| %> -
  1. <%= group.title %> --> <%= group.asds.count %> asd
  2. + <% if group.asds.count > 0 %> +
  3. <%= group.title %> --> <%= group.asds.count %> asd
  4. + <% end %> <% end %>

UTENTI

    <% @senders.each do |group| %> -
  1. <%= group.name %> --> <%= group.asds.count %> asd
  2. + <% if group.asds.count > 0 %> +
  3. <%= group.name %> --> <%= group.asds.count %> asd
  4. + <% end %> <% end %>