<commit_before><p id="notice"><%= notice %></p>
<h1>Listing Speakers</h1>
<table class="display data_table" width="100%" cellspacing="0">
  <thead>
    <tr>
        <th>Name</th>
        <th>Surname</th>
        <th>Position</th>
        <th>Description</th>
        <th>Show</th>
        <th>Edit</th>
        <th>Delete</th>
<!-- <th colspan="3"> <center>Actions</center></th> not working? -->
    </tr>
  </thead>
  <tfoot>
    <tr>
        <th>Name</th>
        <th>Show</th>
        <th>Position</th>
        <th>Description</th>
        <th>Show</th>
        <th>Edit</th>
        <th>Delete</th>
   </tr>
  </tfoot>
  <tbody>
      <% @speakers.each do |speaker| %>
      <tr>
          <td><%= speaker.name %></td>
          <td><%= speaker.surname %></td>
          <td><%= speaker.position %></td>
          <td><%= speaker.description %></td>
          <td><%= link_to 'Show', admin_speaker_path(speaker.id), class: "btn btn-default btn-xs" %></td>
          <td>
            <% if can? :edit, @speaker %>
            <%= link_to 'Edit', edit_admin_speaker_path(speaker.id), class: "btn btn-warning btn-xs" %>
            <% end %>
          </td>
          <td>
            <% if can? :destroy, @speaker %>
            <%= link_to 'Destroy', admin_speaker_path(speaker), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger btn-xs" %>
            <% end %>
          </td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'Invite speaker', invite_admin_speakers_path, class: "btn btn-default btn-sm" %>

<% if can? :create, Speaker %>
<%= link_to 'New speaker', new_admin_speaker_path, class: "btn btn-default btn-sm" %>
<% end %><commit_msg>change link colour type<commit_after><p id="notice"><%= notice %></p>
<h1>Listing Speakers</h1>
<table class="display data_table" width="100%" cellspacing="0">
  <thead>
    <tr>
        <th>Name</th>
        <th>Surname</th>
        <th>Position</th>
        <th>Description</th>
        <th>Show</th>
        <th>Edit</th>
        <th>Delete</th>
<!-- <th colspan="3"> <center>Actions</center></th> not working? -->
    </tr>
  </thead>
  <tfoot>
    <tr>
        <th>Name</th>
        <th>Show</th>
        <th>Position</th>
        <th>Description</th>
        <th>Show</th>
        <th>Edit</th>
        <th>Delete</th>
   </tr>
  </tfoot>
  <tbody>
      <% @speakers.each do |speaker| %>
      <tr>
          <td><%= speaker.name %></td>
          <td><%= speaker.surname %></td>
          <td><%= speaker.position %></td>
          <td><%= speaker.description %></td>
          <td><%= link_to 'Show', admin_speaker_path(speaker.id), class: "btn btn-default btn-xs" %></td>
          <td>
            <% if can? :edit, @speaker %>
            <%= link_to 'Edit', edit_admin_speaker_path(speaker.id), class: "btn btn-warning btn-xs" %>
            <% end %>
          </td>
          <td>
            <% if can? :destroy, @speaker %>
            <%= link_to 'Destroy', admin_speaker_path(speaker), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger btn-xs" %>
            <% end %>
          </td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'Invite speaker', invite_admin_speakers_path, class: "btn btn-default btn-success" %>

<% if can? :create, Speaker %>
<%= link_to 'New speaker', new_admin_speaker_path, class: "btn btn-default btn-success" %>
<% end %>
{'fraction_non_alphanumeric': 0.20786846741045215, 'fraction_numerical': 0.004110393423370522, 'mean_word_length': 2.196060037523452, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 171, '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': '5093618', 'n_tokens_mistral': 1285, 'n_tokens_neox': 1203, 'n_words': 253}