<commit_before><div class="row event">
  <div class="col-md-2 col-sm-3">
    <%= image_tag event.logo.thumb %>
  </div>
  <div class="col-md-10 col-sm-9">
    <h2><%= link_to event.name, event, :class => 'title' %></h2>
    <p><small>
      <%= l(event.start_at, :format => :long) %> 
      to
      <%= l(event.end_at, :format => :long) %> 
      <% if event.start_at.future? %>
        (<%= distance_of_time_in_words_to_now event.start_at %> from now)
      <% end %>
      |
      <%= link_to "", event_url(event) + "#disqus_thread" %>
    </small></p>
    <p class="summary">
      <%= event.summary %>
      <% if can? :manage, Event %>
        <%= link_to "Edit", edit_event_path(event), :class => "btn btn-default btn-xs" %>
        <%= link_to "Destroy", event, :confirm => 'Are you sure?', :method => :delete, :class => "btn btn-default btn-xs" %>
      <% end %>
    </p>
    <% unless event.subevents.empty? %>
      <p class="parent-note">This event is made up of the following sub-events:</p>
      <% event.subevents.each do |subevent| %>
        <h3 class="parent-note"><%= link_to subevent.name, subevent %></li>
      <% end %>
    <% end %>
  </div>
</div>
<commit_msg>Set destroy event button to red<commit_after><div class="row event">
  <div class="col-md-2 col-sm-3">
    <%= image_tag event.logo.thumb %>
  </div>
  <div class="col-md-10 col-sm-9">
    <h2><%= link_to event.name, event, :class => 'title' %></h2>
    <p><small>
      <%= l(event.start_at, :format => :long) %> 
      to
      <%= l(event.end_at, :format => :long) %> 
      <% if event.start_at.future? %>
        (<%= distance_of_time_in_words_to_now event.start_at %> from now)
      <% end %>
      |
      <%= link_to "", event_url(event) + "#disqus_thread" %>
    </small></p>
    <p class="summary">
      <%= event.summary %>
      <% if can? :manage, Event %>
        <%= link_to "Edit", edit_event_path(event), :class => "btn btn-default btn-xs" %>
        <%= link_to "Destroy", event, :confirm => 'Are you sure?', :method => :delete, :class => "btn btn-danger btn-xs" %>
      <% end %>
    </p>
    <% unless event.subevents.empty? %>
      <p class="parent-note">This event is made up of the following sub-events:</p>
      <% event.subevents.each do |subevent| %>
        <h3 class="parent-note"><%= link_to subevent.name, subevent %></li>
      <% end %>
    <% end %>
  </div>
</div>

{'fraction_non_alphanumeric': 0.20995399414470933, 'fraction_numerical': 0.006691760769552488, 'mean_word_length': 2.6574923547400613, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 89, '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': '4646774', 'n_tokens_mistral': 931, 'n_tokens_neox': 851, 'n_words': 189}