<div style="width:500px;height:300px;overflow:auto">
  <!--une ligne d'éditon en tete de tableau pour éditer en masse tous les feature de scope.selectedFeatures -->
  <table class="table table-striped" style="text-align: center; width: 775px;">
    <!-- Ligne entete du tableau -->
    <tr>
      <th class="text-center" style="width: 80px;">
        <div class="fixTh"><translate>datatable.actions</translate></div>
      </th>
      <th
        ng-repeat="att in fti.attributes"
        class="text-center"
        style="width: 100px;"
      >
        <label
          class="fixTh"
          title="{{att.name|translate}}"
          ng-class="att.mandatory?'required':''"
          >{{ att.name|translate}}
        </label>
      </th>
    </tr>
    <!-- Ligne formulaire d'édition -->
    <tr>
      <td>
        <div class="default_actions">
          <!-- reinitialisation du formulaire d'édition -->
          <button
            type="button"
            class="btn btn-default btn-xs"
            title="{{'bizedition.attributesPopupErase'|translate}}"
            ng-click="resetMultipleEditComponent()"
          >
            <i class="fa fa-remove"></i>
          </button>
          <!-- Affectation temporaire des valeurs du formulaire d'édition aux objets features -->
          <button
            type="button"
            class="btn btn-success btn-xs"
            title="{{'bizedition.attributesPopupUpdateAll'|translate}}"
            ng-click="updateAllSelectedFeatures()"
          >
            <i class="fa fa-check"></i>
          </button>
        </div>
      </td>
      <!-- Formulaire d'éditon pour chaque chaque colonne correspndant à un attribut -->
      <td ng-repeat="att in fti.attributes" style="padding-right:5px;">
        <div
          form-field
          fti="fti"
          map="map"
          required="false"
          attname="att.name"
          default=""
          res="multipleEditValues"
          activelabel="true"
          ng-model="popo"
          missingMandatoryAttributes="missingMandatoryAttributes"
        ></div>
      </td>
    </tr>
    <!-- Liste des valeurs attributaires courantes des objets -->
    <tr ng-repeat="obj in result">
      <td></td>
      <td ng-repeat="att in fti.attributes" style="width:300px; ">
        {{obj.properties[att.name]}}
      </td>
    </tr>
  </table>

  <div>
    <!-- Annulation -->
    <button
      type="button"
      class="btn btn-default"
      title="{{'bizedition.attributesPopupCancelBtn' | translate}}"
      ng-click="closeThisDialog('Annulation')"
    >
      <span class="glyphicon glyphicon-remove"></span>
    </button>
    <!-- Sauvegarde -->
    <button type="button" class="btn btn-default" ng-click="validFeatures()">
      <translate>{{'edition.validate' | translate}}</translate>
    </button>
  </div>
</div>
