<div class="">
  <h3 class="modalTitle">
    Ajouter un avis
  </h3>
  <div class="modalBody">
    <div class="row">
      <div class="col-xs-6">
        <label class="control-label">Nom de l'avis</label>
        <input
          type="text"
          class="form-control"
          ng-model="nouveauAvis.label"
          min="0"
        />
      </div>
      <div class="col-xs-6">
        <label class="control-label">Type de l'instruction</label>
        <select
          class="form-control"
          ng-options="controleCfg.type as controleCfg.label_court for controleCfg in controletype"
          ng-model="nouveauAvis.type_controle"
        ></select>
      </div>
    </div>
    <hr />
    <div class="row">
      <div class="col-xs-12">
        <button
          type="button"
          class="btn btn-default pull-right"
          ng-disabled="!nouveauAvis.label || !nouveauAvis.type_controle"
          ng-click="ajouterNouveauAvisControle(nouveauAvis)"
        >
          Enregistrer
        </button>
      </div>
    </div>
  </div>
</div>
