<div>
  <h4 style=" font-weight: bold; color : #428bca; margin-bottom:5px">
    {{'aepintervention.intervAutre' | translate}}
  </h4>
  <button
    ng-disabled="res.int['intAutre'].geometry==undefined"
    type="button"
    class="btn btn-default"
    ng-click="localiaseAno(res.int['intAutre'])"
    title="{{'bizedition.attributesPopupLocate'|translate}}"
  >
    <i class="fa fa-location-arrow"></i>
  </button>

  <table class="table">
    <thead>
      <tr>
        <th style="text-align:left;color : #ff4000;">
          {{'aepintervention.infoCommunes' | translate}}
        </th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>
          <div class="row">
            <div class="col-xs-6">
              <label for="inputKey" class=" col-form-label"
                >{{'aepintervention.dateDebut' | translate}}</label
              >
              <div
                javautildate
                gcatt="{name:'date_debut'}"
                result="res.int['intAutre'].properties"
                ng-init="res.int['intAutre'].properties"
                class="input-group ng-isolate-scope"
                data-type="date"
                field-data="fieldData"
              ></div>
            </div>
            <div class="col-xs-6">
              <label for="example-text-input" class="col-form-label">
                Agent</label
              >
              <div class="form-group">
                <select
                  class="form-control"
                  ng-model="res.int['intAutre'].properties.agent"
                >
                  <option disabled selected hidden value>
                    -------------------
                  </option>
                  <option ng-repeat="ag in agents"> {{ag}} </option>
                </select>
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-xs-6">
              <label for="inputKey" class=" col-form-label"
                >{{'aepintervention.dateFin' | translate}}</label
              >
              <div
                javautildate
                gcatt="{name:'date_fin'}"
                result="res.int['intAutre'].properties"
                ng-init="res.int['intAutre'].properties"
                class="input-group ng-isolate-scope"
                data-type="date"
                field-data="fieldData"
              ></div>
            </div>
          </div>
        </td>
      </tr>
    </tbody>
  </table>

  <table class="table">
    <thead>
      <tr>
        <th style="text-align:left;color : #ff4000;">
          {{'aepintervention.descriptif' | translate}}
        </th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>
          <div class="row">
            <label for="example-text-input" class=" col-xs-4 col-form-label"
              >{{'aepintervention.observations' | translate}}</label
            >
            <textarea
              class="form-control"
              ng-model="res.int['intAutre'].properties.observation"
            ></textarea>
          </div>
        </td>
      </tr>
    </tbody>
  </table>

  <button
    type="button"
    class="btn btn-default"
    ng-if="res.int['intAutre'].id==undefined"
    ng-click="addIntRechAboOuv(res.int['intAutre'], ftis['intAutre'].uid,'Ano_Autre')"
    title="{{'common.save' | translate}}"
  >
    <i class="glyphicon glyphicon-floppy-save"></i>
  </button>
  <button
    type="button"
    class="btn btn-default"
    ng-if="res.int['intAutre'].id!=undefined"
    ng-disabled="currentAnomalie.properties.etat=='Dossier clos'"
    ng-click="updateIntervention(res.int['intAutre'],ftis['intAutre'].uid)"
    title="{{'common.save' | translate}}"
  >
    <i class="glyphicon glyphicon-floppy-save"></i>
  </button>
  <button
    type="button"
    class="btn btn-default"
    ng-if="res.int['intAutre'].id!=undefined"
    ng-disabled="currentAnomalie.properties.etat=='Dossier clos'"
    ng-click="removeIntRechAboOuv(res.int['intAutre'],'Ano_Autre',ftis['intAutre'].uid,ftis['anomalie'].uid)"
    title="{{'common.delete' | translate}}"
  >
    <i class="glyphicon glyphicon-trash"></i>
  </button>
</div>
