<!-- Composant de visualisation des objets partagés par l'ensemble des config de règles -->
<cfg-rules-infos id="updateCfgRulesInfos" featuretype="currentfeaturetype"></cfg-rules-infos><br>

<label class="rulesCfgTitle" translate>rulecfg.allowDelete.title</label><br>


<div ng-if="editTypeList">
  <div class="ruleCfgEditTypeList" dual-list-box data="editTypeList"></div>
</div>


<!-- Edition des conditions -->
<label translate>rulecfg.allowDelete.condition</label>
<translate>rulecfg.allowDelete.onlyIf</translate>
<label translate>rulecfg.allowDelete.linearsType</label>
<br>

<table>
  <tr>
    <td>
      <select class="ruleCfgInput" ng-model="temp" ng-change="onLayerChange(temp)"
        ng-options="f as f.alias for f in featureTypes">
        <option value="" translate>rulecfg.common.choiceprompt</option>
      </select>
    </td>
    <td>
      <button type="button" class="btn btn-mini btn-success" ng-click="addShareObject()" translate>common.add</button>
    </td>
  </tr>
  <tr>
  </tr>
</table>
<table ng-show="rule['parameters']['shareObjects'].length > 0" id="rulecfggetintersectingPointTab">
  <tr>
    <th>
      <translate>rulecfg.common.layersColumn</translate>
    </th>
    <th>
      <translate>common.removeAction</translate>
    </th>
  </tr>
  <tr ng-repeat="shareObject in rule['parameters']['shareObjects']">
    <td>{{shareObject}}</td>
    <td>
      <button type="button" class="btn btn-mini btn-danger" ng-click="removeShareObject($index)">-</button>
    </td>
  </tr>
</table>



<!-- Image et description de fonctionnement de la règle -->
<label translate>rulecfg.allowDelete.example</label>
<img src="img/admin/allowDelete.png" alt="" height="70px" width="300px" class="img-responsive" />
<translate>rulecfg.allowDelete.deletableNode</translate>
<br>
<translate>rulecfg.allowDelete.notDeletableNode</translate>