Sha256: 917afdef1491af92b3cff92607520f052ca69d93fd440a73b87029d207f45f6c

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

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

<span class='regions'>
  <% regions.each_with_index do |region,index| %>
    <% if index > 0 %>
      &nbsp;
    <% end %>
     <span class='region-key'>
      <%= "#{region.country.key}.#{region.key}" %>
     </span>
     <%= link_to region.title, short_region_path( region ) %>
  <% end %>

  <% if count.present? %>
     <span class='region-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/_regions.html.erb
worlddb-admin-0.1.0 app/views/world_db_admin/shared/_regions.html.erb