<%=_('Show only...')%>

<%=_('Alphabet') %>

<% first_row = true %> <% for row in PublicBodyCategories::CATEGORIES_WITH_HEADINGS %> <% if row.instance_of?(Array) %>
  • <%= link_to_unless (@tag == row[0]), row[1], list_public_bodies_url(:tag => row[0]) %>
  • <% else %> <% if not first_row %> <% else %> <% first_row = false %> <% end %>

    <%=h row%>

    <%= _('Are we missing a public authority?.') % [help_requesting_path + '#missing_body'] %>

    <%= link_to _('List of all authorities (CSV)'), all_public_bodies_csv_url() %>

    <% @title = _("Public authorities - {{description}}", :description => @description) %>

    <%=@title%>

    <% form_tag(request.url, :method => "get") do %>
    <%= label_tag(:public_body_query, _("Search:")) %> <%= text_field_tag(:public_body_query, params[:public_body_query]) %> <%= submit_tag(_("Search")) %>
    <% end %>

    <%= @public_bodies.size %> <%= _('in total') %> (<%= _('can\'t find the one you want?') % [help_requesting_path + '#missing_body'] %>)

    <%= render :partial => 'body_listing', :locals => { :public_bodies => @public_bodies } %> <% if @tag.size == 1 && @public_bodies.size > 0 %>

    <%= render :partial => 'alphabet' %>

    <% end %> <%= will_paginate(@public_bodies) %>