Sha256: fd1a2f9242cd00eff5cf6155357b60955f5fea73b8c3feb6d00991879bcf1901

Contents?: true

Size: 525 Bytes

Versions: 2

Compression:

Stored size: 525 Bytes

Contents

<!-- requires para countries
     optional count
  -->

<span class='countries'>
 <% countries.each_with_index do |country,index| %>
     <% if index > 0 %>
      &nbsp;
    <% end %>
    <span class='country-key'><%= country.key %></span>
      <%= image_tag_for_country( country ) %>
      <%= link_to "#{country.title} (#{country.code})", short_country_path( country ) %>
  <% end %><!-- each country -->


  <% if count.present? %>
     <span class='country-count'>
      (<%= count %>)
     </span>
  <% end %>

</span>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
worlddb-admin-0.1.1 app/views/world_db_admin/shared/_countries.html.erb
worlddb-admin-0.1.0 app/views/world_db_admin/shared/_countries.html.erb