<label translate>cotationedition.maintitle</label>
<configcmd open-config="openConfig()"></configcmd>
<div style="width:300px">
  <div model-component res="selectfti" listlayers="editableLayers"></div>
  <!--pre>{{selectfti | json}}</pre-->
  <div class="row">
    <div
      class="col-md-2"
      ng-hide="editmode =='UPDATE'"
      map="map"
      res="result.geometry"
      rad="store.lastrad"
      onfinish="openpopupattribute()"
      ng-if="selectfti"
      toolbarwidget="toolBarWidget"
      isactive="remresult.isaddactive"
      edit-cotation
    ></div>

    <div
      class="col-md-2"
      map="map"
      fti="selectfti"
      toremovefeatures="remresult.todelfeatures"
      onfinish="markfeaturesforremove()"
      ng-if="selectfti"
      toolbarwidget="toolBarWidget"
      isactive="remresult.isremoveactive"
      remove-cotation
    ></div>
  </div>
  <div
    class="row"
    ng-if="remresult.modelfeatures != null && remresult.modelfeatures.length > 0"
  >
    <br />
    <table class="bizeditresulttab EditWidgetLocal">
      <thead>
        <tr>
          <th>{{'bizedition.layerColumnTitle' | translate}}</th>
          <th>{{'bizedition.objectColumnTitle' | translate}}</th>
          <th>{{'bizedition.actionColumnTitle' | translate}}</th>
        </tr>
      </thead>
      <tbody>
        <!-- OBJETS EDITES SECONDAIRES -->
        <tr
          ng-repeat="editdescription in remresult.modelfeatures"
          class="bizeditfeatlabel"
          ng-mouseleave="removehighLightFeature(editdescription.feat)"
          ng-mouseover="highLightFeature(editdescription.feat)"
        >
          <td>{{editdescription.id}}</td>
          <td
            ng-mouseleave="removehighLightFeature(editdescription.editedfeature)"
          >
            <span
              ng-if="editdescription.editType == 'add' "
              title="{{'bizedition.toAdd' | translate
}}"
              class="glyphicon glyphicon-pencil"
            ></span>
            <span
              ng-if="editdescription.editType == 'delete' "
              title="{{'bizedition.toDelete' | translate
}}"
              class="glyphicon glyphicon-remove-sign"
            ></span>
          </td>
          <td>
            <span
              ng-click="canceladdfor($index, editdescription.feat)"
              ng-if="editdescription.editType
 == 'add' "
              title="{{'bizedition.removeFromDeletion' | translate}}"
              class="glyphicon glyphicon-share-alt
 bizeditaction"
            ></span>
            <span
              ng-click="canceldeletefor($index, editdescription.feat)"
              ng-if="editdescription.editType
 == 'delete' "
              title="{{'bizedition.removeFromDeletion' | translate}}"
              class="glyphicon glyphicon-share-alt
 bizeditaction"
            ></span>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
  <div
    class="text-center"
    ng-show="selectfti && remresult.modelfeatures && remresult.modelfeatures.length
 > 0"
  >
    <div
      class="btn btn-default"
      title="{{'utilities.editsave' | translate}}"
      ng-click="savecotationsedits
()"
    >
      <i class="fa fa-save"></i>
      <translate>common.save</translate>
    </div>
  </div>
  <!-- <div edit-save map="map" ftid="selectfti.uid" feats="features" finish="endsave()" uploadfile="uploadfile"
>add</div>
<div edit-update map="map" ftid="selectfti.uid" feats="editedfeatures.result" finish="endsave()"  ng-if
="editmode =='UPDATE'" uploadfile="uploadfile">update</div>-->
</div>
<!--pre>{{result | json}}</pre>
<pre>{{features | json}}</pre-->
<!--div style="width:350px; height: 400px;overflow:auto;">
  <div ng-repeat="att in selectedcomponent.fti.attributes" >
    <div gcattributefticomponent gcatt="att" result="editfeatures.properties" initvalue="edteature.properties
[att.name]"></div>
  </div>
<div-->
