<commit_before><div class="row">
  <h1 class="col-md-12">Edit Location</h1>

  <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</alert>
</div>

<div class="row">

  <form class="form col-md-6" name="form" novalidate>

    <div class="form-group" ng-class="{ 'has-success': form.name.$valid && submitted,
                                            'has-error': form.name.$invalid && submitted }">


      <label>{{editLocation.details.name}}</label>

      <input type="text"
             name="name"
             class="form-control"
             ng-model="editLocation.details.name"
             autofocus
             required/>

      <p class="help-block" ng-show="form.name.$error.required && submitted">
        Name required
      </p>
    </div>


    <div class="form-group" ng-class="{ 'has-success': form.address.$valid && submitted,
                                            'has-error': form.address.$invalid && submitted }">
      <label>{{editLocation.address.street}}, {{editLocation.address.zipcode }} {{editLocation.address.city}}</label>

      <div id="address-search"></div>

      <p class="help-block" ng-show="form.address.$error.required && submitted">
        Address required
      </p>

      <p class="help-block" ng-show="form.address.$error.mongoose">
        {{ errors.address }}<commit_msg>Anzeige "Name" über Textfeld Name<commit_after><div class="row">
  <h1 class="col-md-12">Edit Location</h1>

  <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</alert>
</div>

<div class="row">

  <form class="form col-md-6" name="form" novalidate>

    <div class="form-group" ng-class="{ 'has-success': form.name.$valid && submitted,
                                            'has-error': form.name.$invalid && submitted }">


      <label>Name</label>

      <input type="text"
             name="name"
             class="form-control"
             ng-model="editLocation.details.name"
             autofocus
             required/>

      <p class="help-block" ng-show="form.name.$error.required && submitted">
        Name required
      </p>
    </div>


    <div class="form-group" ng-class="{ 'has-success': form.address.$valid && submitted,
                                            'has-error': form.address.$invalid && submitted }">
      <label>{{editLocation.address.street}}, {{editLocation.address.zipcode }} {{editLocation.address.city}}</label>

      <div id="address-search"></div>

      <p class="help-block" ng-show="form.address.$error.required && submitted">
        Address required
      </p>

      <p class="help-block" ng-show="form.address.$error.mongoose">
        {{ errors.address }}
{'fraction_non_alphanumeric': 0.17996357012750455, 'fraction_numerical': 0.0036429872495446266, 'mean_word_length': 2.3943139678615575, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7372746', 'n_tokens_mistral': 819, 'n_tokens_neox': 772, 'n_words': 142}