Sha256: 05016e04ba943e214acad48ae6f533ba5d8efc9ce89b7331596882156ef029f0
Contents?: true
Size: 1010 Bytes
Versions: 3
Compression:
Stored size: 1010 Bytes
Contents
<h3><%= @countries.count %> Countries / <%= City.count %> Cities</h3> <p> All <span class='country-count'> (<%= @countries.count %>) </span> <% Continent.all.each do |continent| %> • <%= continent.title %> <span class='country-count'> (<%= continent.countries.count %>) </span> <% end %> </p> <table> <% @countries.each do |country| %> <tr> <td> <%= country.continent.title if country.continent.present? %> </td> <td class='country-key'> <%= country.key %> </td> <td style='white-space: nowrap;'> <%= flag_for_country( country ) %> <%= link_to_country( country ) %> </td> <td> (<%= country.code %>) </td> <td> <span class='city-count'> (<%= country.cities.count %>) </span> </td> <td> <% country.cities.each do |city| %> <%= city.title %> <span class='team-count'>(<%= city.teams.count %>)</span> <% end %> <!-- each city --> </td> </tr> <% end %><!-- each country --> </table>
Version data entries
3 entries across 3 versions & 1 rubygems