<commit_before><div ng-form name="locationForm" class="bauble-editor location-editor">

  <h3>{{location.str || 'New location'}}</h3>

  <form>

    <div class="form-group">
      <label for="code-input">Code</label>
      <input type="text" ng-model="location.code" class="form-control" id="code-input"
             required/>
    </div> <!-- .form-group -->

    <div class="form-group">
      <label for="name-input">Name</label>
      <input type="text" ng-model="location.name" class="form-control" id="name-input"/>
    </div> <!-- .form-group -->

    <div class="form-group">
      <label for="description-input">Description</label>
      <textarea ng-model="location.description" class="form-control" id="description-input">
      </textarea>
    </div> <!-- .form-group -->

  </form>

  <div class="action-buttons">
    <button class="btn btn-default" ng-click="cancel()">Cancel</button>
    <button type="submit" class="btn btn-primary" ng-click="save()">Save</button>
  </div>

</div> <!-- .location-editor -->
<commit_msg>make location editor use a horizontal form<commit_after><div ng-form name="locationForm" class="bauble-editor location-editor">

  <h3>{{location.str || 'New location'}}</h3>

  <form class="form-horizontal">

    <div class="form-group">
      <label class="control-label col-md-2" for="code-input">Code</label>
      <div class="col-md-2">
        <input type="text" ng-model="location.code" class="form-control" id="code-input"
               maxlength="10" placeholder="required" required/>
      </div>
    </div> <!-- .form-group -->

    <div class="form-group">
      <label class="control-label col-md-2" for="name-input">Name</label>
      <div class="col-md-6">
        <input type="text" ng-model="location.name" class="form-control" id="name-input"
               maxlength="64"/>
      </div>
    </div> <!-- .form-group -->

    <div class="form-group">
      <label class="control-label col-md-2" for="description-input">Description</label>
      <div class="col-md-6">
        <textarea ng-model="location.description" class="form-control" id="description-input" rows="3">
        </textarea>
      </div>
    </div> <!-- .form-group -->

  </form>

  <div class="action-buttons">
    <button class="btn btn-default" ng-click="cancel()">Cancel</button>
    <button type="submit" class="btn btn-primary" ng-click="save()">Save</button>
  </div>

</div> <!-- .location-editor -->

{'fraction_non_alphanumeric': 0.21061291649526945, 'fraction_numerical': 0.006170300287947347, 'mean_word_length': 3.171526586620926, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '2333391', 'n_tokens_mistral': 790, 'n_tokens_neox': 759, 'n_words': 142}