<commit_before><div>
  <h4 title="{{metaType.description}}">{{zkPid || metaType.name || pid}}
    <span ng-show="factoryInstanceName">: {{factoryInstanceName}}</span>
  </h4>

  <div ng-hide="editMode">
    <div class="row-fluid">
      <button class="btn" ng-click="setEditMode(true)" title="Edit this configuration" hawtio-show object-name="{{hawtioConfigAdminMBean}}" method-name="configAdminUpdate"><i class="icon-edit"></i> Edit</button>
      <button class="btn btn-danger pull-right" ng-click="deletePidDialog.open()" title="Delete this configuration" hawtio-show object-name="{{hawtioConfigAdminMBean}}" method-name="delete"><i class="icon-remove"></i> Delete</button>
    </div>
    <div class="row-fluid config-admin-form view">
      <div simple-form name="pidEditor" mode='view' entity='entity' data='schema' schema="fullSchema"></div>
    </div>
  </div>
  <div ng-show="editMode">
    <div class="row-fluid">
      <button ng-show="newPid" class="btn btn-primary" ng-disabled="!canSave || !createForm.pidInstanceName" ng-click="pidSave()"><i class="icon-save"></i> Create</button>
      <button ng-hide="newPid" class="btn btn-primary" ng-disabled="!canSave" ng-click="pidSave()"><i class="icon-save"></i> Save</button>
      <button class="btn btn-warning" ng-click="setEditMode(false)"><i class="icon-remove"></i> Cancel</button>
      <button class="btn pull-right" ng-click="addPropertyDialog.open()" title="Add a new property value to this configuration"><i class="icon-plus"></i> Property</button>
    </div>
    <div class="row-fluid config-admin-form edit">
      <div ng-show="newPid" class="new-config-name-form">
        <form class="form-horizontal" action="">
          <fieldset>
            <div class="control-group">
              <label class="control-label" title="The name of the configuration file">Configuration name: </label>
              <div class="controls">
                <input type="text" class="span12"
                       title="The name of the configuration file"
                       ng-required="true"
                       ng-model="createForm.pidInstanceName" name="path"<commit_msg>OSGi Properties. Restored 'delete' button<commit_after><div>
  <h4 title="{{metaType.description}}">{{zkPid || metaType.name || pid}}
    <span ng-show="factoryInstanceName">: {{factoryInstanceName}}</span>
  </h4>

  <div ng-hide="editMode">
    <div class="row-fluid">
      <button class="btn" ng-click="setEditMode(true)" title="Edit this configuration" hawtio-show object-name="{{hawtioConfigAdminMBean}}" method-name="configAdminUpdate"><i class="icon-edit"></i> Edit</button>
      <button class="btn btn-danger pull-right" ng-click="deletePidDialog.open()" title="Delete this configuration" hawtio-show object-name="{{configAdminMBean}}" method-name="delete"><i class="icon-remove"></i> Delete</button>
    </div>
    <div class="row-fluid config-admin-form view">
      <div simple-form name="pidEditor" mode='view' entity='entity' data='schema' schema="fullSchema"></div>
    </div>
  </div>
  <div ng-show="editMode">
    <div class="row-fluid">
      <button ng-show="newPid" class="btn btn-primary" ng-disabled="!canSave || !createForm.pidInstanceName" ng-click="pidSave()"><i class="icon-save"></i> Create</button>
      <button ng-hide="newPid" class="btn btn-primary" ng-disabled="!canSave" ng-click="pidSave()"><i class="icon-save"></i> Save</button>
      <button class="btn btn-warning" ng-click="setEditMode(false)"><i class="icon-remove"></i> Cancel</button>
      <button class="btn pull-right" ng-click="addPropertyDialog.open()" title="Add a new property value to this configuration"><i class="icon-plus"></i> Property</button>
    </div>
    <div class="row-fluid config-admin-form edit">
      <div ng-show="newPid" class="new-config-name-form">
        <form class="form-horizontal" action="">
          <fieldset>
            <div class="control-group">
              <label class="control-label" title="The name of the configuration file">Configuration name: </label>
              <div class="controls">
                <input type="text" class="span12"
                       title="The name of the configuration file"
                       ng-required="true"
                       ng-model="createForm.pidInstanceName" name="path"
{'fraction_non_alphanumeric': 0.17998142127264283, 'fraction_numerical': 0.0018578727357176034, 'mean_word_length': 3.850225225225225, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 99, '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': '5997605', 'n_tokens_mistral': 1306, 'n_tokens_neox': 1274, 'n_words': 263}