<%= image_tag_for_country( @country, size: '64x64' ) %> <%= @country.title %> (<%= @country.code %>), <%= @country.breweries.count %> Breweries, <%= @country.beers.count %> Beers (Pocket)

Sort By: <%= link_to 'Key A-Z', short_country_path( @country, style: 'pocket', order: 'key' ) %> • <%= link_to 'Title A-Z', short_country_path( @country, style: 'pocket', order: 'title' ) %> • <%= link_to 'Address', short_country_path( @country, style: 'pocket', order: 'adr' ) %> • <%= link_to 'Production/Capacity (in hl)', short_country_path( @country, style: 'pocket', order: 'hl' ) %> | Style: <%= link_to 'Standard', short_country_path( @country ) %>

<% breweries_missing_regions = @country.breweries.where( 'region_id is null').order( @order_clause ) breweries_missing_regions_count = breweries_missing_regions.count if breweries_missing_regions_count > 0 %> <% breweries_missing_regions.each do |brewery| %> <% end %> <% end %> <% @country.regions.each do |region| %> <% region.breweries.order( @order_clause ).each do |brewery| %> <% end %> <% end %>
Uncategorized (<%= @country.breweries.where( 'region_id is null').count %>)
<% if brewery.web.present? %> <%= link_to brewery.web, "http://#{brewery.web}" %> <% end %> <%= brewery.title %> | <%= brewery.founded %> | <%= brewery.address %> | <%= render_brewery_tags( brewery ) %>
<%= region.key %> <%= region.title_w_synonyms %> (<%= region.breweries.count %>)
<% if brewery.web.present? %> <%= link_to brewery.web, "http://#{brewery.web}" %> <% end %> <%= brewery.title %> | <%= brewery.founded %> | <%= brewery.address %> | <%= render_brewery_tags( brewery ) %>