Sha256: be2c693d968857a12edd6581d9bac790774572b421b440e38df7505ee1c0ad92
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
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.where( c: true ).count %>) </span> <% end %> </p> <p> Sort By: <%= link_to 'A-Z', countries_path( :order => 'title' ) %> • <%= link_to 'Population', countries_path( :order => 'pop' ) %> • <%= link_to 'Area (in kmĀ²)', countries_path( :order => 'area' ) %> | Download: <%= link_to 'CSV', csv_countries_path(), :title => 'Comma-separated values; tabular data in plain text' %> • <%= link_to 'Table', table_countries_path(), :title => 'Hypertext table' %> </p> <!-- <p> Filter By: <%# COUNTRY_FILTER_TAGS.each_with_index do |tag,index| %> <%# if index > 0 %> • <%# end %> <%#= link_to tag, countries_path( :tag => tag ) %> <%# end %> </p> --> <%= render :partial => 'countries', :locals => { :countries => @countries } %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
worlddb-admin-0.1.1 | app/views/world_db_admin/countries/index.html.erb |
worlddb-admin-0.1.0 | app/views/world_db_admin/countries/index.html.erb |