Sha256: a39a25ba7ccec6960c6a988ce02102bb2ae78a8086a35642451359164e2d832d

Contents?: true

Size: 601 Bytes

Versions: 2

Compression:

Stored size: 601 Bytes

Contents

<h3><%= Lang.count %> Languages</h3>

<table>
<% @langs.each do |lang| %>
 
  <tr>
    <td class='lang-key'>
      <%= lang.key %>
    </td>
    <td>
      <%= lang.title %>
    </td>
    <td>
      <span class='lang-count'>
        (<%= lang.countries.count %>)
        </span>
    </td>
    <td>
         <% lang.countries.each_with_index do |country,index| %>
           <%= '•' if index > 0 %>
           <%= image_tag_for_country( country ) %>
           <%= link_to country.title,  short_country_path( country ) %>
         <% end %><!-- each country -->
    </td>
  </tr>
<% end %>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
worlddb-admin-0.1.1 app/views/world_db_admin/langs/index.html.erb
worlddb-admin-0.1.0 app/views/world_db_admin/langs/index.html.erb