<div class="">
  <h3 class="modalTitle">
    Nouveau document type
  </h3>
  <div class="modalBody">
    <div class="row">
      <div class="col-xs-12">
        <label class="control-label">Label</label>
      </div>
      <div class="col-xs-12">
        <input
          type="text"
          class="form-control"
          ng-model="nouveauDossierDoc.label"
        />
      </div>
      <div class="col-xs-12">
        <label class="control-label">Fichier</label>
      </div>
      <div class="col-xs-12">
        <select
          class="form-control"
          ng-options="item.name as item.name for item in listTemplates"
          ng-model="nouveauDossierDoc.fichier"
        ></select>
      </div>
      <div class="col-xs-12">
        <label class="control-label">Détail</label>
      </div>
      <div class="col-xs-12">
        <textarea
          class="form-control"
          ng-model="nouveauDossierDoc.detail"
        ></textarea>
      </div>
    </div>
    <hr />
    <div class="row">
      <div class="col-xs-12">
        <button
          type="button"
          class="btn btn-default pull-right"
          ng-disabled="!nouveauDossierDoc.label||!nouveauDossierDoc.fichier"
          ng-click="ajouterNouveauDossierDoc(nouveauDossierDoc)"
        >
          Enregistrer
        </button>
      </div>
    </div>
  </div>
</div>
