<commit_before><div class="row">
  <div class="large-12 columns">
    <div class="root-snippet">
    <h3>Snippet</h3>
      <%= @story.snippet.content %>
    </div>

    <br><br>

    <ul class="accordion" data-accordion>
      <li class="accordion-navigation">
        <a href="#panel1a">Parent Story</a>
          <div id="panel1a" class="content active">
            <%= link_to "#{@story.title}", story_path(@story) %>
          </div>
      </li>
    </ul>


    <br><br>

    <h1> Create a new story </h1>
    <%# params %>
    <%= form_for @story_new do |f| %>

      <%= f.label :title %>
      <%= f.text_field :title %><br>
      <%= f.hidden_field :parent_id, :value => @story.id %>
      <%= f.hidden_field :snippet_id, :value => @story.snippet.id %>
      <%= f.hidden_field :author_id, :value => current_user.id %>
      <%= f.label :content %>
      <%= f.text_area :content, :class => "redactor"%><br>
      <%= f.hidden_field :published, :value => false %>

      <%= f.submit "Save" %>
    <% end %>
    <div class="autosave">

    </div>


    <ul class="side-nav">
      <h4>Other Stories Written Off Of "<%= @story.title %>"</h4>
        <% @story.children.each do |story| %>
          <li><%= link_to "#{story.title}", story_path(story) %></li>
        <% end %>
    </ul>

  </div>
</div>










<commit_msg>adding toggle to parent story bar<commit_after><div class="row">
  <div class="large-12 columns">
    <div class="root-snippet">
    <h3>Snippet</h3>
      <%= @story.snippet.content %>
    </div>

    <br><br>

    <ul class="accordion" data-accordion>
      <li class="accordion-navigation">
        <a href="#panel1a">Parent Story</a>
          <div id="panel1a" class="content active">
            <%= link_to "#{@story.title}", story_path(@story) %>
          </div>
      </li>
    </ul>


    <br><br>

    <h1> Create a new story </h1>
    <%# params %>
    <%= form_for @story_new do |f| %>

      <%= f.label :title %>
      <%= f.text_field :title %><br>
      <%= f.hidden_field :parent_id, :value => @story.id %>
      <%= f.hidden_field :snippet_id, :value => @story.snippet.id %>
      <%= f.hidden_field :author_id, :value => current_user.id %>
      <%= f.label :content %>
      <%= f.text_area :content, :class => "redactor"%><br>
      <%= f.hidden_field :published, :value => false %>

      <%= f.submit "Save" %>
    <% end %>
    <div class="autosave">

    </div>


    <ul class="side-nav">
      <h4>Other Stories Written Off Of "<%= @story.title %>"</h4>
        <% @story.children.each do |story| %>
          <li><%= link_to "#{story.title}", story_path(story) %></li>
        <% end %>
    </ul>

  </div>
</div>

<br><br>





{'fraction_non_alphanumeric': 0.21322436849925705, 'fraction_numerical': 0.007429420505200594, 'mean_word_length': 2.37468671679198, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 115, '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': '2878930', 'n_tokens_mistral': 1059, 'n_tokens_neox': 958, 'n_words': 196}