<commit_before><% content_for :main_content do %>
    <div class="container">
      <div class="panel panel-info">
        <div class="panel-heading">
          <h3 class="text-center">Register</h3>
        </div>
        <div class="panel-body">
          <p class="text-muted">You can further <a class="btn btn-info" href="<%= edit_user_path(@user.id) %>" target="_blank">complete</a> your profile for registration</p>
          <%= render 'registration_form', locals: {user: @user, survey_template: survey_template, registration: registration, questions: questions} %>
        </div>
      </div>
    </div>
<% end %>
<commit_msg>Add check for registration status<commit_after><% content_for :main_content do %>
  <div class="container">
    <div class="panel panel-info">
      <div class="panel-heading">
        <h3 class="text-center">Register</h3>
      </div>
      <div class="panel-body">
        <% if is_registration_open? %>
          <p class="text-muted">You can further <a class="btn btn-info" href="<%= edit_user_path(@user.id) %>" target="_blank">complete</a> your profile for registration</p>
          <%= render 'registration_form', locals: {user: @user, survey_template: survey_template, registration: registration, questions: questions} %>
        <% else %>
          <p>
            Registration for Orbital <%=current_cohort%> has closed. Thank you for your interest.
          </p>
        <% end %>
      </div>
    </div>
  </div>
<% end %>

{'fraction_non_alphanumeric': 0.16383412644459552, 'fraction_numerical': 0.002719238613188307, 'mean_word_length': 3.0550964187327825, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '4430842', 'n_tokens_mistral': 458, 'n_tokens_neox': 431, 'n_words': 111}