Sha256: fb9a2a94356643f431fb0c6fee239dcf5cda8ecaaffeacb61f07053429643241

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

<h3>Countries</h3>

<p>
<% Continent.all.each_with_index do |continent,i| %>
   <% if i > 0 %>
      &bull;
   <% end %>
    <%= link_to continent.title, "##{continent.key}" %>
<% end %>
</p>


<% Continent.all.each do |continent| %>

<a name="<%= continent.key %>"></a>
<h4>
  <%= continent.title %>
</h4>

<p>
   <%= render_countries( continent.countries.order(:title) ) %>
</p>
<% end %><!-- each continent-->

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beerdb-admin-0.1.1 app/views/beer_db_admin/countries/index.html.erb