<commit_before><div class="pid-view" ng-controller="Osgi.PidController">

  <ol class="breadcrumb">
    <li>
        <a ng-href="{{configurationUrl}}">Configuration</a>
    </li>
    <li class="page-title">
      {{zkPid || metaType.name || pid}}
    </li>
  </ol>  
  
  <pf-toolbar config="toolbarConfig"></pf-toolbar>
  
  <div ng-hide="editMode">
    <div class="row config-admin-form view">
      <div class="col-sm-12">
        <div simple-form class="pid-form" name="pidEditor" mode='view' entity='entity' data='schema' schema="fullSchema"></div>
      </div>
    </div>
  </div>
  
  <div ng-show="editMode">
    <div class="row config-admin-form edit">
      <div ng-show="newPid" class="col-sm-12 new-config-name-form">
        <form class="form-horizontal" action="">
          <fieldset>
            <div class="spacer"></div>
            <div class="form-group">
              <label class="col-sm-2 control-label" title="The name of the configuration file">
                Configuration name
              </label>
              <div class="col-sm-10">
                <input type="text" title="The name of the configuration file" ng-required="true"
                        ng-model="createForm.pidInstanceName" name="path" autofocus>
              </div>
            </div>
          </fieldset>
        </form>
      </div>
      <div class="col-sm-12">
        <div simple-form name="pidEditor" mode='edit' entity='entity' data='schema' schema="fullSchema" onSubmit="pidSave()"></div>
      </div>
    </div>
    <div class="row">
      <div class="col-sm-2"></div>
      <div class="col-sm-10">
        <button class="btn btn-primary" ng-show="newPid" ng-disabled="!canSave || !createForm.pidInstanceName" ng-click="pidSave()">Create</button>
        <button class="btn btn-primary" ng-hide="newPid" ng-disabled="!canSave" ng-click="pidSave()">Save</button>
        <button class="btn btn-default" ng-click="cancelSave()">Cancel</button>
      </div>
    </div>
  </div>

  <script type="text/ng-template" id="deletePropDialog.html">
    <form name="deleteProperty" class="form-horizontal no-bottom-margin" ng-submit="deletePidPropConfirmed()">
      <div class="modal-header">
        <button type="button" class="close" aria-label="Close" ng-click="$close()">
          <span class="pficon pficon-close" aria-hidden="true"></span>
        </button>
        <h4 class="modal-title">Delete property '{{deleteKey}}'</h4>
      </div>
      <div class="modal-body">
        <p class="lead">Are you sure?</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" ng-click="$close()">Cancel</button>
        <button type="submit" class="btn btn-danger">Delete</button>
      </div>
    </form>
  </script>
<commit_msg>fix(osgi): long labels in Configuration form (edit mode) are not visible<commit_after><div class="pid-view" ng-controller="Osgi.PidController">

  <ol class="breadcrumb">
    <li>
        <a ng-href="{{configurationUrl}}">Configuration</a>
    </li>
    <li class="page-title">
      {{zkPid || metaType.name || pid}}
    </li>
  </ol>

  <pf-toolbar config="toolbarConfig"></pf-toolbar>

  <div ng-hide="editMode">
    <div class="row config-admin-form view">
      <div class="col-sm-12">
        <div simple-form class="pid-form" name="pidEditor" mode='view' entity='entity' data='schema' schema="fullSchema"></div>
      </div>
    </div>
  </div>

  <div ng-show="editMode">
    <div class="row config-admin-form edit">
      <div ng-show="newPid" class="col-sm-12 new-config-name-form">
        <form class="form-horizontal" action="">
          <fieldset>
            <div class="spacer"></div>
            <div class="form-group">
              <label class="col-sm-2 control-label" title="The name of the configuration file">
                Configuration name
              </label>
              <div class="col-sm-10">
                <input type="text" title="The name of the configuration file" ng-required="true"
                        ng-model="createForm.pidInstanceName" name="path" autofocus>
              </div>
            </div>
          </fieldset>
        </form>
      </div>
      <div class="col-sm-12">
        <div simple-form class="pid-form" name="pidEditor" mode='edit' entity='entity' data='schema' schema="fullSchema" onSubmit="pidSave()"></div>
      </div>
    </div>
    <div class="row">
      <div class="col-sm-2"></div>
      <div class="col-sm-10">
        <button class="btn btn-primary" ng-show="newPid" ng-disabled="!canSave || !createForm.pidInstanceName" ng-click="pidSave()">Create</button>
        <button class="btn btn-primary" ng-hide="newPid" ng-disabled="!canSave" ng-click="pidSave()">Save</button>
        <button class="btn btn-default" ng-click="cancelSave()">Cancel</button>
      </div>
    </div>
  </div>

  <script type="text/ng-template" id="deletePropDialog.html">
    <form name="deleteProperty" class="form-horizontal no-bottom-margin" ng-submit="deletePidPropConfirmed()">
      <div class="modal-header">
        <button type="button" class="close" aria-label="Close" ng-click="$close()">
          <span class="pficon pficon-close" aria-hidden="true"></span>
        </button>
        <h4 class="modal-title">Delete property '{{deleteKey}}'</h4>
      </div>
      <div class="modal-body">
        <p class="lead">Are you sure?</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" ng-click="$close()">Cancel</button>
        <button type="submit" class="btn btn-danger">Delete</button>
      </div>
    </form>
  </script>

{'fraction_non_alphanumeric': 0.1857447564877355, 'fraction_numerical': 0.004976892996800568, 'mean_word_length': 2.7638795986622076, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, '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': '7527191', 'n_tokens_mistral': 1795, 'n_tokens_neox': 1749, 'n_words': 351}