<% page_title "Policy teams" %>
<section>
  <nav class="actions">
    <%= link_to "Create policy team", new_admin_policy_team_path, class: "btn new_resource", title: "Create a policy team" %>
  </nav>

  <h1>Policy teams</h1>

  <table class="policy_teams table table-striped">
    <thead>
      <tr>
        <th>Name</th>
        <th>Email</th>
      </tr>
    </thead>
    <tbody>
      <% @policy_teams.each do |policy_team| %>
        <%= content_tag_for(:tr, policy_team) do %>
          <td class="name"><%= policy_team.name %></td>
          <td class="email"><%= link_to policy_team.email, edit_admin_policy_team_path(policy_team), title: "Edit policy team #{policy_team.email}" %></td>
        <% end %>
      <% end %>
    </tbody>
  </table>
</section>

<% page_title "Policy teams" %>
<section>
  <nav class="actions">
    <%= link_to "Create policy team", new_admin_policy_team_path, class: "btn new_resource", title: "Create a policy team" %>
  </nav>

  <h1>Policy teams</h1>

  <table class="policy_teams table table-striped">
    <thead>
      <tr>
        <th>Name</th>
        <th>Email</th>
      </tr>
    </thead>
    <tbody>
      <% @policy_teams.each do |policy_team| %>
        <%= content_tag_for(:tr, policy_team) do %>
          <td class="name"><%= link_to policy_team.name, edit_admin_policy_team_path(policy_team), title: "Edit policy team #{policy_team.name}" %></td>
          <td class="email"><%= policy_team.email %></td>
        <% end %>
      <% end %>
    </tbody>
  </table>
</section>

Make policy team admin more consistent.
Make policy team admin more consistent.

We typically have an entity's name be a link to the edit page for that
entity. Originally a policy team only had an email address and not a
name which is why the email address was previously the link the admin
page. This is particularly confusing, because elsewhere in the admin
interface, the email address is a "mailto" link.
