<commit_before><div id="section-content">
  <div class="translation">
    {{#if media.isMedium}}
    <h4>{{#link-to 'page' page}}{{page.title}}{{/link-to}} : {{sortOrder}}</h4>
    {{/if}}
    {{{formattedContent}}}

  </div>
  {{#if footnotes}}
  <div class="footnotes-wrapper">
    <ul class="no-bullet">
    {{#each footnote in footnotes}}
      <li>{{footnote.reference}}</sup> {{{footnote.content}}}</li>
    {{/each}}
    </ul>
  </div>
  {{/if}}
  <div class="sequences-wrapper">
    {{#unless settings.editMode}}{{#if sequenceItems}}
      <h5>Sequences</h5>
      <ul>
        {{#each sequenceItem in sequenceItems}}
        <li>
          {{#link-to 'sequences.show' sequenceItem.sequence.slug}}
            {{sequenceItem.sequence.title}}
          {{/link-to}}
        </li>
        {{/each}}
      </ul>
    {{/if}}{{/unless}}
    {{#if media.isMedium}}{{#if settings.editMode}}
      <h5>Admin</h5>
      <ul>
        <li>
          <a {{bind-attr href=adminEditLink}} target="_blank">Admin edit page</a>
        </li>
        {{#each sequence in page.treatise.sequences itemController='page/sectionSequences'}}
          <li class='checkbox-list-item'>
            <label>
              {{input type='checkbox' name='attached' checked=sequence.attached}}
              {{sequence.title}}
            </label>
            {{#if sequence.sequenceItem}}
              {{input value=sequence.sequenceItem.title action='updateTitle'}}
            {{/if}}
          </li>
        {{/each}}
      </ul>
      {{/if}}{{/if}}
  {{copyright-slug content=page.treatise.copyright.html}}
</div><commit_msg>Markup updates for sequence item edit / display<commit_after><div id="section-content">
  <div class="translation">
    {{#if media.isMedium}}
    <h4>{{#link-to 'page' page}}{{page.title}}{{/link-to}} : {{sortOrder}}</h4>
    {{/if}}
    {{{formattedContent}}}

  </div>
  {{#if footnotes}}
  <div class="footnotes-wrapper">
    <ul class="no-bullet">
    {{#each footnote in footnotes}}
      <li>{{footnote.reference}}</sup> {{{footnote.content}}}</li>
    {{/each}}
    </ul>
  </div>
  {{/if}}
  <div class="sequences-wrapper">
    {{#unless settings.editMode}}{{#if sequenceItems}}
      <h5>Sequences</h5>
      <ul>
        {{#each sequenceItem in sequenceItems}}
        <li>
          {{#link-to 'sequences.show' sequenceItem.sequence.slug}}
            {{sequenceItem.title}} - {{sequenceItem.sequence.title}}
          {{/link-to}}
        </li>
        {{/each}}
      </ul>
    {{/if}}{{/unless}}
    {{#if media.isMedium}}{{#if settings.editMode}}
      <h5>Admin</h5>
      <ul>
        <li>
          <a {{bind-attr href=adminEditLink}} target="_blank">Admin edit page</a>
        </li>
        {{#each sequence in page.treatise.sequences itemController='page/sectionSequences'}}
          <li class='checkbox-list-item'>
            <label>
              {{input type='checkbox' name='attached' checked=sequence.attached}}
              {{sequence.title}}
            </label>
            {{#if sequence.sequenceItem}}
              <form {{action 'saveItem' on='submit'}}>
                    <label>Title</label>
                      {{input value=sequence.sequenceItem.title}}
                    </label>
                    <label>Commentary</label>
                      {{textarea value=sequence.sequenceItem.commentary.md}}
                    </label>
                    <input type='submit' class='hide' value='Save'/>
              </form>
            {{/if}}
          </li>
        {{/each}}
      </ul>
      {{/if}}{{/if}}
  {{copyright-slug content=page.treatise.copyright.html}}
</div>
{'fraction_non_alphanumeric': 0.19559228650137742, 'fraction_numerical': 0.003305785123966942, 'mean_word_length': 2.157391304347826, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 0, '>': 76, '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': '2337188', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1120, 'n_words': 200}