<commit_before><%= form_for([current_community, :admin, @friend]) do |f| %>
  <div class='row'>
    <div class='col-md-1 col-md-offset-10'>
      <div class='row' id='submission_wrapper'>
        <%= f.submit 'Save', class: 'btn btn-primary' %></div>
      </div>
    </div>
  <div class= 'row'>
    <div class='col-md-10 col-md-offset-1'>

      <!-- Nav tabs -->
      <ul class="nav nav-tabs" role="tablist">
        <li class="nav-item active">
          <a class="nav-link" data-toggle="tab" href="#basic" role="tab">Basic</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#family" role="tab">Family</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#activities" role="tab">Activities</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#clinic" role="tab">Clinic</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#detention" role="tab">Detention</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#other_case_info" role="tab">Other Case Info</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#documents" role="tab">Documents</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#access" role="tab">Access</a>
        </li>
      </ul>

      <!-- Validation errors -->
      <%= display_validation_errors(@friend) %>

      <!-- Tab panes -->
      <div class="tab-content form-inputs">
        <div class="tab-pane active" id="basic" role="tabpanel">
          <%= render 'basic_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="family" role="tabpanel">
          <%= render 'family_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="activities" role="tabpanel">
          <%= render 'activities_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="clinic" role="tabpanel">
          <%= render 'clinic_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="detention" role="tabpanel">
          <%= render 'detention_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="other_case_info" role="tabpanel">
          <%= render 'other_case_info_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="documents" role="tabpanel">
          <%= render 'application_drafts', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="access" role="tabpanel">
          <%= render 'access_form_fields', f: f, friend: @friend %>
        </div>
      </div>
    </div>
  </div>

  </br>

  <%= hidden_field_tag :tab, @current_tab %>
<% end %><commit_msg>Resolved final failing specs<commit_after><%= form_for([current_community, :admin, @friend]) do |f| %>
  <div class='row'>
    <div class='col-md-1 col-md-offset-10'>
      <div class='row' id='submission_wrapper'>
        <%= f.submit 'Save', class: 'btn btn-primary' %></div>
      </div>
    </div>
  <div class= 'row'>
    <div class='col-md-10 col-md-offset-1'>

      <!-- Nav tabs -->
      <ul class="nav nav-tabs" role="tablist">
        <li class="nav-item active">
          <a class="nav-link" data-toggle="tab" href="#basic" role="tab">Basic</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#family" role="tab">Family</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#activities" role="tab">Activities</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#clinic" role="tab">Clinic</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#detention" role="tab">Detention</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#other_case_info" role="tab">Other Case Info</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#documents" role="tab">Documents</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" data-toggle="tab" href="#access" role="tab">Access</a>
        </li>
      </ul>

      <!-- Validation errors -->
      <%= display_validation_errors(@friend) %>

      <!-- Tab panes -->
      <div class="tab-content form-inputs">
        <div class="tab-pane active" id="basic" role="tabpanel">
          <%= render 'basic_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="family" role="tabpanel">
          <%= render 'family_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="activities" role="tabpanel">
          <%= render 'activities_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="clinic" role="tabpanel">
          <%= render 'clinic_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="detention" role="tabpanel">
          <%= render 'detention_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="other_case_info" role="tabpanel">
          <%= render 'other_case_info_form_fields', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="documents" role="tabpanel">
          <%= render 'drafts', f: f, friend: @friend %>
        </div>
        <div class="tab-pane" id="access" role="tabpanel">
          <%= render 'access_form_fields', f: f, friend: @friend %>
        </div>
      </div>
    </div>
  </div>

  </br>

  <%= hidden_field_tag :tab, @current_tab %>
<% end %>
{'fraction_non_alphanumeric': 0.20357446808510637, 'fraction_numerical': 0.0020425531914893616, 'mean_word_length': 2.481042654028436, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 161, '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': '5201380', 'n_tokens_mistral': 2039, 'n_tokens_neox': 1956, 'n_words': 417}