<%= league.key %> | <%= league.title %> | (<%= league.events.count %>) | <% league.events.each_with_index do |event,index| %> <%= '•' if index > 0 %> <%= link_to event.season.title, short_event_path(event) %> <% end %> |
<%= team.key %> | <%= logo_for_team( team ) %> <%= link_to_team( team ) %> <%= " | #{team.synonyms.split('|').join(' | ')}" if team.synonyms.present? %> | <%= "(#{team.code})" if team.code.present? %> | <%= team.title2 if team.title2.present? %> |
<%= region.key %> | <%= region.title %> | (<%= region.cities.count %>) | <% region.cities.each_with_index do |city,index| %> <%= '•' if index > 0 %> <%= city.title %> <% end %> |
<%= city.key %> | <%= city.title %> <%= " | #{city.synonyms.split('|').join(' | ')}" if city.synonyms.present? %> | (<%= city.teams.count %>) | <% city.teams.each_with_index do |team,index| %> <%= '•' if index > 0 %> <%= logo_for_team( team ) %> <%= link_to_team( team ) %> <% end %> |