<div class="">
  <h3 class="modalTitle">
    <span ng-if="CurrentAnnotationElem.nom=='Canalisations'">Cotation</span>
    <span ng-if="CurrentAnnotationElem.nom=='Annotation'">Annotation</span>
  </h3>
  <div class="modalBody">
    <div class="row spbrow">
      <div class="col-xs-12">
        <span ng-if="CurrentAnnotationElem.nom=='Canalisations'"
          ><label>Distance</label></span
        >
        <span ng-if="CurrentAnnotationElem.nom=='Annotation'"
          ><label>Nom</label></span
        >
      </div>
      <div class="col-xs-12">
        <input
          type="text"
          class="form-control"
          ng-model="currentAnnotation.text"
        />
      </div>
    </div>
    <div class="row">
      <!--           <div class="col-xs-12" ng-if="!CurrentAnnotationElem">
                <button type="button" class="btn btn-default pull-right" ng-click="addAnnotation()"
                        ng-disabled="!currentAnnotation.text">Nouvelle Annotation</button>
            </div>-->
      <div class="col-xs-12">
        <button
          type="button"
          class="btn btn-default pull-right"
          ng-click="updateAnnotation()"
          ng-disabled="!currentAnnotation.text"
        >
          Enregistrer
        </button>
      </div>
    </div>
  </div>
</div>
