<commit_before><h1>{{title}}</h1>

{{#if isSaved}}
<div class="alert alert-success" role="alert">
Changes to rocket saved.
</div>
{{/if}}
{{#if isCreated}}
<div class="alert alert-success" role="alert">
New rocket created.
</div>
{{/if}}
{{#if isUnchanged}}
<div class="alert alert-success" role="alert">
No changes to save.
</div>
{{/if}}

<form role="form" class="form-horizontal form-condensed">
  <div class="row">
    <div class="col-sm-6">
      <p class="column-title">Overall</p>
      <div class="form-group">
        <label for="diameter" class="col-sm-6 control-label">Body Diameter</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatLength rocket.bodyDiameter rocket.bodyDiameterUnit}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="weight" class="col-sm-6 control-label">Dry Weight</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatMass rocket.weight rocket.weightUnit}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="cd" class="col-sm-6 control-label">C<sub>D</sub></label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatCD rocket.cd}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="cd" class="col-sm-6 control-label">Guide Length</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatLength rocket.guideLength rocket.guideLengthUnit}}</p>
        </div>
      </div>
    </div> <!-- left col -->
    <div class="col-sm-6">
      <p class="column-title">Motor Mount</p>
      <div class="form-group">
        <label for="mmtDiameter" class="col-sm-6 control-label">MMT Diameter</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatLength rocket.mmtDiameter rocket.mmtDiameterUnit}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="mmtLength" class="col-sm-6 control-label">MMT Length</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatLength rocket.mmtLength rocket.mmtLengthUnit}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="mmtCount" class="col-sm-6 control-label">MMT Count</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{rocket.mmtCount}}</p>
        </div>
      </div>
      {{#if rocket.adapters}}
      <div class="form-group">
        <label for="mmtCount" class="col-sm-6 control-label">Adapters</label>
        <div class="col-sm-6">
          <p class="form-control-static">
          {{#each rocket.adapters}}
          {{formatLength mmtDiameter mmtDiameterUnit}}
          {{/each}}
          </p>
          </p>
        </div>
      </div>
      {{/if}}
    </div> <!-- left col -->
  </div> <!-- row -->
</form>
{{#if rocket.comments}}
<div class="comments">
{{renderBBCode rocket.comments}}
</div>
{{/if}}

{{#if editLink}}
<p>
<a href="{{editLink}}">Edit this rocket</a> or
<a href="{{deleteLink}}">Delete it</a>.<commit_msg>display web site and comments on rocket details page<commit_after><h1>{{title}}</h1>

{{#if isSaved}}
<div class="alert alert-success" role="alert">
Changes to rocket saved.
</div>
{{/if}}
{{#if isCreated}}
<div class="alert alert-success" role="alert">
New rocket created.
</div>
{{/if}}
{{#if isUnchanged}}
<div class="alert alert-success" role="alert">
No changes to save.
</div>
{{/if}}

<form role="form" class="form-horizontal form-condensed">
  <div class="row">
    <div class="col-sm-6">
      <p class="column-title">Overall</p>
      <div class="form-group">
        <label for="diameter" class="col-sm-6 control-label">Body Diameter</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatLength rocket.bodyDiameter rocket.bodyDiameterUnit}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="weight" class="col-sm-6 control-label">Dry Weight</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatMass rocket.weight rocket.weightUnit}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="cd" class="col-sm-6 control-label">C<sub>D</sub></label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatCD rocket.cd}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="cd" class="col-sm-6 control-label">Guide Length</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatLength rocket.guideLength rocket.guideLengthUnit}}</p>
        </div>
      </div>
      {{#if rocket.website}}
      <div class="form-group">
        <label for="cd" class="col-sm-6 control-label">Web Page</label>
        <div class="col-sm-6">
          <p class="form-control-static"><a href="{{rocket.website}}">{{websiteAnchor rocket.website}}</a></p>
        </div>
      </div>
      {{/if}}
    </div> <!-- left col -->

    <div class="col-sm-6">
      <p class="column-title">Motor Mount</p>
      <div class="form-group">
        <label for="mmtDiameter" class="col-sm-6 control-label">MMT Diameter</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatLength rocket.mmtDiameter rocket.mmtDiameterUnit}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="mmtLength" class="col-sm-6 control-label">MMT Length</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{formatLength rocket.mmtLength rocket.mmtLengthUnit}}</p>
        </div>
      </div>
      <div class="form-group">
        <label for="mmtCount" class="col-sm-6 control-label">MMT Count</label>
        <div class="col-sm-6">
          <p class="form-control-static">{{rocket.mmtCount}}</p>
        </div>
      </div>
      {{#if rocket.adapters}}
      <div class="form-group">
        <label for="mmtCount" class="col-sm-6 control-label">Adapters</label>
        <div class="col-sm-6">
          <p class="form-control-static">
          {{#each rocket.adapters}}
          {{formatLength mmtDiameter mmtDiameterUnit}}
          {{/each}}
          </p>
        </div>
      </div>
      {{/if}}
    </div> <!-- left col -->
  </div> <!-- row -->
</form>
{{#if rocket.comments}}
<table class="table table-bordered comments">
   <tr><th>Comments</th></tr>
   <tr><td>{{renderBBCode rocket.comments}}</td></tr>
</table>
{{/if}}

{{#if editLink}}
<p>
<a href="{{editLink}}">Edit this rocket</a> or
<a href="{{deleteLink}}">Delete it</a>.
{'fraction_non_alphanumeric': 0.20634198148991048, 'fraction_numerical': 0.0063723258989531175, 'mean_word_length': 2.7221908526256353, 'pattern_counts': {'":': 0, '<': 214, '<?xml version=': 0, '>': 214, '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': '3690712', 'n_tokens_mistral': 2298, 'n_tokens_neox': 2199, 'n_words': 433}