<commit_before><section class="resource_list">
  <div class="collection">

    <nav class="actions">
      <%= link_to "Create Role", new_admin_role_path, class: "button new_resource", title: "Create a Role" %>
    </nav>

    <h1>Roles</h1>

    <table class="roles">
      <thead>
        <tr>
          <th>Name</th>
          <th>Organisations</th>
          <th>Type</th>
          <th>Permanent secretary</th>
          <th>Currently Appointed</th>
          <th>Actions</th>
        </tr>
      </thead>
      <tbody>
        <% @roles.each do |role| %>
          <%= content_tag_for(:tr, role) do %>
            <td class="name"><%= link_to role.name, edit_admin_role_path(role), title: "Edit role #{role.name}" %></td>
            <td class="organisations"><%= role.organisation_names %></td>
            <td class="type"><%= role.humanized_type %></td>
            <td class="permanent_secretary"><%= yes_or_no(role.permanent_secretary?) %></td>
            <td class="person"><%= role.current_person_name %></td>
            <td class="delete">
              <% if role.destroyable? %>
                <%= button_to 'delete', admin_role_path(role), method: :delete %>
              <% else %>
                <span>Cannot delete</span>
              <% end %>
            </td>
          <% end %>
        <% end %>
      </tbody>
    </table>
  </div>
</section><commit_msg>Standardize capitalization on navigation & headings.<commit_after><section class="resource_list">
  <div class="collection">

    <nav class="actions">
      <%= link_to "Create Role", new_admin_role_path, class: "button new_resource", title: "Create a Role" %>
    </nav>

    <h1>Roles</h1>

    <table class="roles">
      <thead>
        <tr>
          <th>Name</th>
          <th>Organisations</th>
          <th>Type</th>
          <th>Permanent secretary</th>
          <th>Currently appointed</th>
          <th>Actions</th>
        </tr>
      </thead>
      <tbody>
        <% @roles.each do |role| %>
          <%= content_tag_for(:tr, role) do %>
            <td class="name"><%= link_to role.name, edit_admin_role_path(role), title: "Edit role #{role.name}" %></td>
            <td class="organisations"><%= role.organisation_names %></td>
            <td class="type"><%= role.humanized_type %></td>
            <td class="permanent_secretary"><%= yes_or_no(role.permanent_secretary?) %></td>
            <td class="person"><%= role.current_person_name %></td>
            <td class="delete">
              <% if role.destroyable? %>
                <%= button_to 'delete', admin_role_path(role), method: :delete %>
              <% else %>
                <span>Cannot delete</span>
              <% end %>
            </td>
          <% end %>
        <% end %>
      </tbody>
    </table>
  </div>
</section>
{'fraction_non_alphanumeric': 0.17858413376022766, 'fraction_numerical': 0.001422981145499822, 'mean_word_length': 2.04, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '111603', 'n_tokens_mistral': 940, 'n_tokens_neox': 871, 'n_words': 175}