<% content_for :page_title, "Local Authorities" %>

<% breadcrumb :local_authorities %>

<div class="page-title">
  <h1>Local Authorities</h1>
</div>

<%= render partial: 'shared/home_nav' %>

<% if @authorities.any? %>
  <table class="table table-bordered table-with-counts" data-module="filterable-table">
    <thead>
      <tr class="table-header">
        <th>
          <div class='filter-control'>
            <%= render partial: "govuk_admin_template/table_filter_form" %>
          </div>
          <div class='count'>
            <span><%= @authorities.count %></span>
            <%= 'local authorities'.pluralize(@authorities.count) %>
          </div>
        </th>
      </tr>
    </thead>
    <tbody>
      <% @authorities.each do |authority| %>
        <tr>
          <td>
            <%= link_to authority.name, local_authority_services_path(authority.slug), class: 'js-open-on-submit name' %>
            <div class="count">
              <span><%= authority.broken_link_count %></span>
              <%= 'Broken link'.pluralize(authority.broken_link_count) %>
            </div>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

<% else %>
  <h4>No local authorities found</h4>
<% end %>

<% content_for :page_title, "Local Authorities" %>

<% breadcrumb :local_authorities %>

<div class="page-title">
  <h1>Local Authorities</h1>
</div>

<%= render partial: 'shared/home_nav' %>

<% if @authorities.any? %>
  <table class="table table-bordered table-with-counts" data-module="filterable-table">
    <thead>
      <tr class="table-header">
        <th>
          <div class='filter-control'>
            <%= render partial: 'govuk_admin_template/table_filter_form', locals: { placeholder: 'Search for a council here' } %>
          </div>
          <div class='count'>
            <span><%= @authorities.count %></span>
            <%= 'local authorities'.pluralize(@authorities.count) %>
          </div>
        </th>
      </tr>
    </thead>
    <tbody>
      <% @authorities.each do |authority| %>
        <tr>
          <td>
            <%= link_to authority.name, local_authority_services_path(authority.slug), class: 'js-open-on-submit name' %>
            <div class="count">
              <span><%= authority.broken_link_count %></span>
              <%= 'Broken link'.pluralize(authority.broken_link_count) %>
            </div>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

<% else %>
  <h4>No local authorities found</h4>
<% end %>

Update placeholder text in LocalAuthority filter
Update placeholder text in LocalAuthority filter
