Sha256: 81b3c5a9e5bba649fcd49bc9ab3d9ef9b39f4282d6843ad1f1cb6c2d30644618
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
<table> <% countries.each do |country| %> <tr> <td> <%= country.continent.title if country.continent.present? %> </td> <td class='country-key' style='vertical-align: baseline;'> <%= country.key %> </td> <td style='vertical-align: baseline;'> <%= image_tag_for_country( country ) %> </td> <td style='vertical-align: baseline;'> <span style='white-space: nowrap;'> <%= link_to "#{country.title} (#{country.code})", short_country_path( country ) %> </span> <br> <%= render_tags( country.tags.top ) %> </td> <td style='white-space: nowrap; vertical-align: baseline;'> <%= number_to_human( country.pop ) %> </td> <td style='white-space: nowrap; vertical-align: baseline;'> <%= number_to_human( country.area ) %> kmĀ² </td> <td style='vertical-align: baseline; text-align: right;'> <span class='city-count'> (<%= country.cities.count %>) </span> </td> <td style='vertical-align: baseline;'> <%= render_cities( country.cities ) %> </td> </tr> <% end %><!-- each country --> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
worlddb-admin-0.1.1 | app/views/world_db_admin/countries/_countries.html.erb |
worlddb-admin-0.1.0 | app/views/world_db_admin/countries/_countries.html.erb |