<commit_before><div class="content">
    <div class="main-header">
      <h2><%= @event.title %></h2>
      <em><%= "to be held at #{ Location.find(@event.location_id).name }" %></em>
    </div>
  </div>

  <div class="row">
    <!-- Event info -->
    <div class="col-md-4">
      <div class="widget">
        <div class="widget-header">
          <h3><i class="fa fa-calendar-o"></i>Event Details</h3>
        </div>
        <div class="widget-content">
          <p id="notice"><%= notice %></p>
          <div class="table-responsive">
            <table class="table table-bordered  table-striped table-hover">
              <thead />
              <tbody>
                <tr>
                  <td><strong>Type:</strong></td>
                  <td></i><%= display_event(@event) %></td>
                </tr>
                <tr>
                  <td><strong>Registration:</strong></td>
                  <td>
                    <%= format_date(@event.registration_open_date) %> - 
                    <%= format_date(@event.registration_close_date) %>
                  </td>
                </tr>
                <tr>
                  <td><strong>Dates:</strong></td>
                  <td>
                    <%= format_date(@event.begin_date) %> -
                    <%= format_date(@event.end_date) %>
                  </td>
                </tr>
                <tr>
                  <td><strong>Cost:</strong></td>
                  <td>
                    <%= (@event.registration_cost)? "#{number_to_currency(@event.registration_cost)}" : "TBA" %>
                  </td>
                </tr>
              </tbody>
            </table>
            <%= link_to 'Edit', edit_event_path(@event), class: 'btn btn-primary btn-sm' %>
            <div class="btn-group">
              <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" type="button">
                Manage
                <span class="caret"></span>
              </button>
              <ul class="dropdown-menu" role="menu">
                <li><%= link_to 'Hospitality', event_hospitalities_path(@event) %></li>
                <li><%= link_to 'Registrations', event_registrations_path(@event) %><li>
                <li><%= link_to 'Payments', edit_locality_payments_path(@event) %></li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- Event Registration Details -->
    <div class="col-md-4">
      <div class="widget">
        <div class="widget-header">
          <h3><i class="fa fa-bar-chart-o"></i>Statistics</h3>
        </div><commit_msg>Closing span fix<commit_after><div class="content">
    <div class="main-header">
      <h2><%= @event.title %></h2>
      <em><%= "to be held at #{ Location.find(@event.location_id).name }" %></em>
    </div>
  </div>

  <div class="row">
    <!-- Event info -->
    <div class="col-md-4 col-sm-6">
      <div class="widget">
        <div class="widget-header">
          <h3><i class="fa fa-calendar-o"></i>Event Details</h3>
        </div>
        <div class="widget-content">
          <p id="notice"><%= notice %></p>
          <div class="table-responsive">
            <table class="table table-bordered  table-striped table-hover">
              <thead />
              <tbody>
                <tr>
                  <td><strong>Type:</strong></td>
                  <td></i><%= display_event(@event) %></td>
                </tr>
                <tr>
                  <td><strong>Registration:</strong></td>
                  <td>
                    <%= format_date(@event.registration_open_date) %> - 
                    <%= format_date(@event.registration_close_date) %>
                  </td>
                </tr>
                <tr>
                  <td><strong>Dates:</strong></td>
                  <td>
                    <%= format_date(@event.begin_date) %> -
                    <%= format_date(@event.end_date) %>
                  </td>
                </tr>
                <tr>
                  <td><strong>Cost:</strong></td>
                  <td>
                    <%= (@event.registration_cost)? "#{number_to_currency(@event.registration_cost)}" : "TBA" %>
                  </td>
                </tr>
              </tbody>
            </table>
            </div>
            <%= link_to 'Edit', edit_event_path(@event), class: 'btn btn-primary btn-sm' %>
            <div class="btn-group">
              <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" type="button">
                Manage
                <span class="caret"></span>
              </button>
              <ul class="dropdown-menu" role="menu">
                <li><%= link_to 'Hospitality', event_hospitalities_path(@event) %></li>
                <li><%= link_to 'Registrations', event_registrations_path(@event) %><li>
                <li><%= link_to 'Payments', edit_locality_payments_path(@event) %></li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    <!-- Event Registration Details -->
    <div class="col-md-4">
      <div class="widget">
        <div class="widget-header">
          <h3><i class="fa fa-bar-chart-o"></i>Statistics</h3>
        </div>
{'fraction_non_alphanumeric': 0.17801445416508177, 'fraction_numerical': 0.003233168505135032, 'mean_word_length': 1.4483240223463687, 'pattern_counts': {'":': 0, '<': 203, '<?xml version=': 0, '>': 203, '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': '751823', 'n_tokens_mistral': 1618, 'n_tokens_neox': 1499, 'n_words': 268}