<commit_before><% content_for :header do %>
   Server overview
<% end %>

<table class="index">
  <tr>
    <th>Hostname</th>
    <th>Enabled</th>
    <th>Last backup</th>
    <th>Last backup result</th>
  </tr>

<% @servers.each do |server| %>
  <tr>
    <td><%=link_to h(server.hostname), server %></td>
    <td><%=h server.enabled %></td>
    <td><%=h server.last_backup || "None" %></td>
    <td><%=h (server.last_backup ? server.backup_jobs.last.status : 'Nothing yet') %></td>
    <td><%= link_to 'Edit', edit_server_path(server) %> | 
    <%= link_to 'Destroy', server, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />
<% add_action 'Add Server', new_server_path %>
<commit_msg>Showing the enabled field is not useful<commit_after><% content_for :header do %>
   Server overview
<% end %>

<table class="index">
  <tr>
    <th>Hostname</th>
    <th>Last backup</th>
    <th>Last backup result</th>
  </tr>

<% @servers.each do |server| %>
  <tr>
    <td><%=link_to h(server.hostname), server %></td>
    <td><%=h server.last_backup || "None" %></td>
    <td><%=h (server.last_backup ? server.backup_jobs.last.status : 'Nothing yet') %></td>
    <td><%= link_to 'Edit', edit_server_path(server) %> | 
    <%= link_to 'Destroy', server, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />
<% add_action 'Add Server', new_server_path %>

{'fraction_non_alphanumeric': 0.22519352568613651, 'fraction_numerical': 0.0, 'mean_word_length': 3.7086092715231787, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 74, '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': '4603733', 'n_tokens_mistral': 562, 'n_tokens_neox': 530, 'n_words': 124}